From 70868de81b6a0ed48294fb098e8547ec6c581e46 Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Wed, 8 Mar 2017 19:29:19 +0900 Subject: [PATCH] changes undefined process.exit(code) to process.exit(9) --- lib/cmd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cmd.js b/lib/cmd.js index a3440b97..d28a1b9d 100644 --- a/lib/cmd.js +++ b/lib/cmd.js @@ -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); });