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…
Reference in New Issue