Skip to content

Commit 7bc9b43

Browse files
committed
chore: fix lint around control chars
We intentionally use control characters here, Biome is wrong in this case.
1 parent 6176ced commit 7bc9b43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/prompts/src/task-log.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ interface BufferEntry {
3737
}
3838

3939
const stripDestructiveANSI = (input: string): string => {
40+
// biome-ignore lint/suspicious/noControlCharactersInRegex: intentional
4041
return input.replace(/\x1b\[(?:\d+;)*\d*[ABCDEFGHfJKSTsu]|\x1b\[(s|u)/g, '');
4142
};
4243

0 commit comments

Comments
 (0)