mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Do not print done statement if app already exist and --overwrite is not passed
This commit is contained in:
parent
f471fe240e
commit
60f1375c25
@ -40,6 +40,11 @@ if (require.main === module) {
|
|||||||
console.error(error);
|
console.error(error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!appPath) {
|
||||||
|
// app exists and --overwrite is not passed
|
||||||
|
return;
|
||||||
|
}
|
||||||
console.log(`App built to ${appPath}`);
|
console.log(`App built to ${appPath}`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user