Skip to content

Commit 4cc4bca

Browse files
authored
fix: prompter returning undefined instead of value (#5457)
1 parent 5d3f1d6 commit 4cc4bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/prompter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class Prompter implements IPrompter {
125125
};
126126

127127
const result = await this.get([schema]);
128-
return inquirerChoices[result.userAnswer].value;
128+
return result.userAnswer;
129129
}
130130

131131
public async confirm(

0 commit comments

Comments
 (0)