mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Don't unconditionally exit after starting Cordova apps.
This commit is contained in:
@@ -1039,7 +1039,7 @@ var execCordovaOnPlatform = function (localPath, platformName, options) {
|
||||
chalk.green("Try running again with the --verbose option."),
|
||||
""
|
||||
].join("\n"));
|
||||
} else {
|
||||
} else if (err) {
|
||||
Console.stderr.write([
|
||||
"",
|
||||
chalk.green("Could not start your app."),
|
||||
@@ -1050,7 +1050,9 @@ var execCordovaOnPlatform = function (localPath, platformName, options) {
|
||||
|
||||
// Don't throw an error or print the stack trace, but still exit the
|
||||
// program because we have failed to do the expected thing
|
||||
process.exit(2);
|
||||
if (err) {
|
||||
process.exit(2);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user