Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Mar 29, 2024
1 parent 67a83b4 commit 147e1c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions packages/client/src/repl/ansiUtils.mts
@@ -1,6 +1,7 @@
import styles from 'ansi-styles';
import type { Direction } from 'node:tty';

import ansiEscapes from 'ansi-escapes';
import { Direction } from 'node:tty';
import styles from 'ansi-styles';

export function green(text: string): string {
return styles.green.open + text + styles.green.close;
Expand Down
2 changes: 0 additions & 2 deletions packages/client/src/repl/textUtils.mts
Expand Up @@ -30,8 +30,6 @@ export function splitIntoLines(text: string, width: number): string[] {
return lines.map((line) => line.trimEnd());
}

(strings, ...values) => String.raw({ raw: strings }, ...values);

function _unindent(s: string) {
const lines = s.split('\n');
const indents = lines
Expand Down

0 comments on commit 147e1c8

Please sign in to comment.