(cb)
| 186 | }; |
| 187 | |
| 188 | function interactiveConfigEdit(cb) { |
| 189 | UX.helpers.openEditor(cst.PM2_MODULE_CONF_FILE, function(err, data) { |
| 190 | Common.printOut(chalk.bold('Module configuration (%s) edited.'), cst.PM2_MODULE_CONF_FILE); |
| 191 | Common.printOut(chalk.bold('To take changes into account, please restart module related.'), cst.PM2_MODULE_CONF_FILE); |
| 192 | if (err) |
| 193 | return cb(Common.retErr(err)); |
| 194 | return cb(null, {success:true}); |
| 195 | }); |
| 196 | |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Configuration |
no test coverage detected
searching dependent graphs…