Skip to content

Commit

Permalink
fix(extension): prompt default should be index not key (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisDS authored and acburdine committed May 29, 2019
1 parent 8dc7441 commit b8401ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Extension {
type: 'expand',
name: 'choice',
message: `Would you like to view or edit the ${descriptor} file?`,
default: 'n',
default: 0,
choices: [
{key: 'n', name: 'No, continue', value: 'continue'},
{key: 'v', name: 'View the file', value: 'view'},
Expand Down

0 comments on commit b8401ec

Please sign in to comment.