This commit is contained in:
Ronan Jouchet 2018-05-11 16:58:36 -04:00
parent 6a8114e505
commit 039ad50fa6
1 changed files with 2 additions and 2 deletions

View File

@ -203,11 +203,11 @@ function buildMain(inpOptions, callback) {
packagerConsole.override(); packagerConsole.override();
packager(packageOptions) packager(packageOptions)
.then(appPathArray => { .then((appPathArray) => {
packagerConsole.restore(); // restore console.error packagerConsole.restore(); // restore console.error
cb(null, opts, appPathArray); // options still contain the icon to waterfall cb(null, opts, appPathArray); // options still contain the icon to waterfall
}) })
.catch(error => { .catch((error) => {
packagerConsole.restore(); // restore console.error packagerConsole.restore(); // restore console.error
cb(error, opts); // options still contain the icon to waterfall cb(error, opts); // options still contain the icon to waterfall
}); });