|
|
|
@ -91,7 +91,8 @@ import * as child_process from 'child_process' |
|
|
|
|
fs.writeFileSync(plugin_directory_path + pluginName + '/profile.json', JSON.stringify(plugin, null, 2)) |
|
|
|
|
|
|
|
|
|
// read the profile.json file
|
|
|
|
|
console.log(fs.readFileSync(plugin_directory_path + pluginName + '/profile.json')) |
|
|
|
|
const content = fs.readFileSync(plugin_directory_path + pluginName + '/profile.json') |
|
|
|
|
console.log('profile.json', content.toString()) |
|
|
|
|
|
|
|
|
|
// create pull request
|
|
|
|
|
const promisifyExec = util.promisify(child_process.exec) |
|
|
|
|