Passed in success messaging to async callback.

This commit is contained in:
Eric Mastro 2018-04-13 15:30:45 +10:00 committed by emizzle
parent 31a2a27e9a
commit c1c61de2d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);