MXS-1300: Refactor the way maxctrl is invoked
Making the invocation explicit should allow testing without actually starting the process fromt the command line. Also returning a promise allows chaining of commands for testing and verification.
This commit is contained in:
@ -160,6 +160,9 @@ module.exports = function() {
|
||||
})
|
||||
})
|
||||
})
|
||||
.catch(function(err) {
|
||||
logError(JSON.stringify(err, null, 4))
|
||||
})
|
||||
}
|
||||
|
||||
this.updateValue = function(resource, key, value) {
|
||||
|
Reference in New Issue
Block a user