2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 04:47:54 +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
});