mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 05:38:52 +00:00
changes undefined process.exit(code) to process.exit(9)
This commit is contained in:
parent
71121cdc4b
commit
70868de81b
@ -33,10 +33,11 @@ Cmd.prototype.newApp = function() {
|
||||
.description('new application')
|
||||
.action(function(name, options) {
|
||||
if (name === undefined) {
|
||||
|
||||
console.log("please specify your app Name".red);
|
||||
console.log("e.g embark new MyApp".green);
|
||||
console.log("e.g embark new --help for more information".green);
|
||||
process.exit(code);
|
||||
process.exit(9);
|
||||
}
|
||||
self.Embark.generateTemplate('boilerplate', './', name);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user