Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/local-actions/branch-manager/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58195,7 +58195,7 @@ function createPrompt(view) {
throw error2;
}).finally(() => {
cleanups.forEach((cleanup) => cleanup());
screen.done({ clearContent: Boolean(context2 == null ? void 0 : context2.clearPromptOnDone) });
screen.done({ clearContent: Boolean(context2.clearPromptOnDone) });
output.end();
}).then(() => promise), { cancel });
});
Expand Down Expand Up @@ -58764,7 +58764,7 @@ var esm_default8 = createPrompt((config, done) => {
selectedChoice = choices.find((choice) => isSelectableChoice(choice) && choice.key === value);
}
if (isSelectableChoice(selectedChoice)) {
setValue(selectedChoice.short ?? selectedChoice.name ?? String(selectedChoice.value));
setValue(selectedChoice.short);
setStatus("done");
done(selectedChoice.value);
} else if (value === "") {
Expand Down Expand Up @@ -59001,7 +59001,7 @@ ${theme.style.help("(Use arrow keys)")}`;
}
let searchStr;
if (status === "done" && selectedChoice) {
const answer = selectedChoice.short ?? selectedChoice.name;
const answer = selectedChoice.short;
return `${prefix} ${message} ${theme.style.answer(answer)}`;
} else {
searchStr = theme.style.searchTerm(searchTerm);
Expand Down
6 changes: 3 additions & 3 deletions .github/local-actions/changelog/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57758,7 +57758,7 @@ function createPrompt(view) {
throw error2;
}).finally(() => {
cleanups.forEach((cleanup) => cleanup());
screen.done({ clearContent: Boolean(context3 == null ? void 0 : context3.clearPromptOnDone) });
screen.done({ clearContent: Boolean(context3.clearPromptOnDone) });
output.end();
}).then(() => promise), { cancel });
});
Expand Down Expand Up @@ -58327,7 +58327,7 @@ var esm_default8 = createPrompt((config2, done) => {
selectedChoice = choices.find((choice) => isSelectableChoice(choice) && choice.key === value);
}
if (isSelectableChoice(selectedChoice)) {
setValue(selectedChoice.short ?? selectedChoice.name ?? String(selectedChoice.value));
setValue(selectedChoice.short);
setStatus("done");
done(selectedChoice.value);
} else if (value === "") {
Expand Down Expand Up @@ -58564,7 +58564,7 @@ ${theme.style.help("(Use arrow keys)")}`;
}
let searchStr;
if (status === "done" && selectedChoice) {
const answer = selectedChoice.short ?? selectedChoice.name;
const answer = selectedChoice.short;
return `${prefix} ${message} ${theme.style.answer(answer)}`;
} else {
searchStr = theme.style.searchTerm(searchTerm);
Expand Down
Loading