Skip to content

Commit cbf6f6e

Browse files
committed
default to embarkDApp as the new dapp
1 parent 886c5d8 commit cbf6f6e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/cmd.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ class Cmd {
4545
.description('new application')
4646
.action(function (name) {
4747
if (name === undefined) {
48-
let parentDirectory = path.dirname(__dirname).split("/").pop();
49-
return promptly.prompt("Name your app (default is " + parentDirectory + "):", {
50-
default: parentDirectory,
48+
return promptly.prompt("Name your app (default is embarkDApp):", {
49+
default: "embarkDApp",
5150
validator: validateName
5251
}, function (err, inputvalue) {
5352
if (err) {

0 commit comments

Comments
 (0)