Skip to content

Commit b8401ec

Browse files
ErisDSacburdine
authored andcommitted
fix(extension): prompt default should be index not key (#935)
1 parent 8dc7441 commit b8401ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extension.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Extension {
6565
type: 'expand',
6666
name: 'choice',
6767
message: `Would you like to view or edit the ${descriptor} file?`,
68-
default: 'n',
68+
default: 0,
6969
choices: [
7070
{key: 'n', name: 'No, continue', value: 'continue'},
7171
{key: 'v', name: 'View the file', value: 'view'},

0 commit comments

Comments
 (0)