Skip to content

Commit

Permalink
Fix @inquirer/confirm formatted output value (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed May 8, 2020
1 parent 32ee96f commit a1171d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/confirm/index.js
Expand Up @@ -22,7 +22,7 @@ module.exports = createPrompt((config, done) => {
let formattedValue = value;
let defaultValue = '';
if (status === 'done') {
formattedValue = chalk.cyan(value ? 'yes' : 'no');
formattedValue = chalk.cyan(value);
} else {
defaultValue = chalk.dim(config.default === false ? ' (y/N)' : ' (Y/n)');
}
Expand Down

0 comments on commit a1171d2

Please sign in to comment.