Skip to content

Commit f19abca

Browse files
committed
fix: fix indentation
1 parent 01f8ae1 commit f19abca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/prompts/src/group-multi-select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const groupMultiselect = <Value>(opts: GroupMultiSelectOptions<Value>) =>
191191
this.state === 'initial' && usage
192192
? usageMessage
193193
.split('\n')
194-
.map((ln, i) => (i === 0 ? `${color.cyan(S_BAR_END)} ${ln}` : ` ${ln}`))
194+
.map((ln, i) => (i === 0 ? `${color.cyan(S_BAR_END)} ${ln}` : ` ${ln}`))
195195
.join('\n')
196196
: color.cyan(S_BAR_END);
197197
return `${title}${color.cyan(S_BAR)}${optionsPrefix}${optionsText}\n${footer}\n`;

packages/prompts/src/multi-select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export const multiselect = <Value>(opts: MultiSelectOptions<Value>) => {
172172
this.state === 'initial' && usage
173173
? usageMessage
174174
.split('\n')
175-
.map((ln, i) => (i === 0 ? `${color.cyan(S_BAR_END)} ${ln}` : ` ${ln}`))
175+
.map((ln, i) => (i === 0 ? `${color.cyan(S_BAR_END)} ${ln}` : ` ${ln}`))
176176
.join('\n')
177177
: color.cyan(S_BAR_END);
178178
// Calculate rowPadding: title lines + footer lines (S_BAR_END + trailing newline)

0 commit comments

Comments
 (0)