Skip to content

Commit ce1e06f

Browse files
committed
some fix
1 parent 816c976 commit ce1e06f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/prompts/src/note.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const note = (message = '', title = '', opts?: NoteOptions) => {
4848
.join('\n');
4949
output.write(
5050
`${color.gray(S_BAR)}\n${color.green(S_STEP_SUBMIT)} ${color.reset(title)} ${color.gray(
51-
S_BAR_H.repeat(Math.max(len - titleLen - 1), 1) + S_CORNER_TOP_RIGHT
51+
S_BAR_H.repeat(Math.max(len - titleLen - 1, 1)) + S_CORNER_TOP_RIGHT
5252
)}\n${msg}\n${color.gray(S_CONNECT_LEFT + S_BAR_H.repeat(len + 2) + S_CORNER_BOTTOM_RIGHT)}\n`
5353
);
5454
};

0 commit comments

Comments
 (0)