mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-11 01:32:04 +00:00
Fix bug in console warning when not overwritting an existing executable
This commit is contained in:
parent
d74c368627
commit
56b7abacf8
@ -63,8 +63,8 @@ function buildApp(options, callback) {
|
|||||||
|
|
||||||
(appPathArray, callback) => {
|
(appPathArray, callback) => {
|
||||||
// somehow appPathArray is a 1 element array
|
// somehow appPathArray is a 1 element array
|
||||||
if (appPathArray.length !== 1) {
|
if (appPathArray.length > 1) {
|
||||||
console.warn('Warning: Packaged app path contains more than one element', appPathArray);
|
console.warn('Warning: Packaged app path contains more than one element:', appPathArray);
|
||||||
}
|
}
|
||||||
const appPath = appPathArray[0];
|
const appPath = appPathArray[0];
|
||||||
callback(null, appPath);
|
callback(null, appPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user