Skip to content

Commit

Permalink
Do not print a new line after the prompt "message"
Browse files Browse the repository at this point in the history
  • Loading branch information
matheuss committed Apr 17, 2017
1 parent 676ac01 commit f1dbdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/input/prompt-bool.js
Expand Up @@ -55,7 +55,7 @@ module.exports = (
: defaultValue
? `[${chalk.bold(yesChar.toUpperCase())}|${noChar}]`
: `[${yesChar}|${chalk.bold(noChar.toUpperCase())}]`;
info(`${label} ${chalk.gray(defaultText)} `);
stdout.write(`${chalk.gray('>')} ${label} ${chalk.gray(defaultText)} `);
stdin.on('data', onData);
});
};

0 comments on commit f1dbdc5

Please sign in to comment.