mirror of https://github.com/embarklabs/embark.git
Passed in success messaging to async callback.
This commit is contained in:
parent
31a2a27e9a
commit
c1c61de2d5
|
@ -289,7 +289,7 @@ class Embark {
|
||||||
engine.logger.debug('deploying to ' + platform + '...');
|
engine.logger.debug('deploying to ' + platform + '...');
|
||||||
cmdPlugin.uploadCmds[0].cb()
|
cmdPlugin.uploadCmds[0].cb()
|
||||||
.then((success) => {
|
.then((success) => {
|
||||||
callback();
|
callback(null, success);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
callback(err);
|
callback(err);
|
||||||
|
|
Loading…
Reference in New Issue