MXS-1300: Resolved the promise for help
commands
The promise returned by the `execute` MaxCtrl library function is now properly resolved also for `help` type commands.
This commit is contained in:
@ -102,7 +102,7 @@ module.exports.execute = function(argv, opts) {
|
||||
if (err) {
|
||||
reject(err.message)
|
||||
} else if (output) {
|
||||
logger.log(output)
|
||||
resolve(output)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user