default to embarkDApp as the new dapp

This commit is contained in:
Iuri Matias 2017-06-27 15:45:30 -04:00
parent 886c5d879f
commit cbf6f6ec5c
1 changed files with 2 additions and 3 deletions

View File

@ -45,9 +45,8 @@ class Cmd {
.description('new application')
.action(function (name) {
if (name === undefined) {
let parentDirectory = path.dirname(__dirname).split("/").pop();
return promptly.prompt("Name your app (default is " + parentDirectory + "):", {
default: parentDirectory,
return promptly.prompt("Name your app (default is embarkDApp):", {
default: "embarkDApp",
validator: validateName
}, function (err, inputvalue) {
if (err) {