default to embarkDApp as the new dapp
This commit is contained in:
parent
886c5d879f
commit
cbf6f6ec5c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue