We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a951c44 commit c1d5a27Copy full SHA for c1d5a27
lib/common/prompter.ts
@@ -102,7 +102,7 @@ export class Prompter implements IPrompter {
102
};
103
104
const result = await this.get([schema]);
105
- return result.userAnswer;
+ return choices[result.userAnswer];
106
}
107
108
public async promptForDetailedChoice(
@@ -125,7 +125,7 @@ export class Prompter implements IPrompter {
125
126
127
128
+ return inquirerChoices[result.userAnswer].value;
129
130
131
public async confirm(
0 commit comments