2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 10:38:55 +00:00

Do not print done statement if app already exist and --overwrite is not passed

This commit is contained in:
Jia Hao 2016-01-30 01:57:56 +08:00
parent f471fe240e
commit 60f1375c25

View File

@ -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}`);
}); });
} }