mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 10:38:55 +00:00
eslint
This commit is contained in:
parent
6a8114e505
commit
039ad50fa6
@ -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
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user