Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds
Added test to ensure that release notes are parsed properly Updated to latest dependencies to fix security vulnerability Updated GH Actions Workflow to run test before updating tag Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
15
node_modules/prompts/dist/elements/autocompleteMultiselect.js
generated
vendored
15
node_modules/prompts/dist/elements/autocompleteMultiselect.js
generated
vendored
@@ -137,13 +137,21 @@ class AutocompleteMultiselectPrompt extends MultiselectPrompt {
|
||||
}
|
||||
|
||||
renderInstructions() {
|
||||
return `
|
||||
if (this.instructions === undefined || this.instructions) {
|
||||
if (typeof this.instructions === 'string') {
|
||||
return this.instructions;
|
||||
}
|
||||
|
||||
return `
|
||||
Instructions:
|
||||
${figures.arrowUp}/${figures.arrowDown}: Highlight option
|
||||
${figures.arrowLeft}/${figures.arrowRight}/[space]: Toggle selection
|
||||
[a,b,c]/delete: Filter choices
|
||||
enter/return: Complete answer
|
||||
`;
|
||||
`;
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
renderCurrentInput() {
|
||||
@@ -159,8 +167,7 @@ Filtered results for: ${this.inputValue ? this.inputValue : color.gray('Enter so
|
||||
|
||||
renderDoneOrInstructions() {
|
||||
if (this.done) {
|
||||
const selected = this.value.filter(e => e.selected).map(v => v.title).join(', ');
|
||||
return selected;
|
||||
return this.value.filter(e => e.selected).map(v => v.title).join(', ');
|
||||
}
|
||||
|
||||
const output = [color.gray(this.hint), this.renderInstructions(), this.renderCurrentInput()];
|
||||
|
||||
Reference in New Issue
Block a user