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
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ if (require.main === module) {
console.error(error);
return;
}
if (!appPath) {
// app exists and --overwrite is not passed
return;
}
console.log(`App built to ${appPath}`);
});
}