Updating NPM dependencies
This commit is contained in:
5
node_modules/prompts/lib/util/style.js
generated
vendored
5
node_modules/prompts/lib/util/style.js
generated
vendored
@@ -16,11 +16,12 @@ const render = type => styles[type] || styles.default;
|
||||
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;
|
||||
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 =>
|
||||
|
||||
Reference in New Issue
Block a user