Updating NPM dependencies
This commit is contained in:
3
node_modules/prompts/dist/util/style.js
generated
vendored
3
node_modules/prompts/dist/util/style.js
generated
vendored
@@ -30,10 +30,11 @@ const render = type => styles[type] || styles.default; // icon to signalize a pr
|
||||
const symbols = Object.freeze({
|
||||
aborted: c.red(figures.cross),
|
||||
done: c.green(figures.tick),
|
||||
exited: c.yellow(figures.cross),
|
||||
default: c.cyan('?')
|
||||
});
|
||||
|
||||
const symbol = (done, aborted) => aborted ? symbols.aborted : done ? symbols.done : symbols.default; // between the question and the user's input.
|
||||
const symbol = (done, aborted, exited) => aborted ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default; // between the question and the user's input.
|
||||
|
||||
|
||||
const delimiter = completing => c.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
||||
|
||||
Reference in New Issue
Block a user