2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 02:28:55 +00:00
This commit is contained in:
Ronan Jouchet 2018-05-11 16:58:36 -04:00
parent 6a8114e505
commit 039ad50fa6

View File

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