Skip to content

Commit 828da37

Browse files
committed
Fix stdout.clearLine error in CI
1 parent 0c77213 commit 828da37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/test-runner.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ const tests = Object
3838

3939
const printMsg = (msg, overwrite = false) => {
4040
if (overwrite) {
41-
process.stdout.clearLine(0);
42-
process.stdout.cursorTo(0);
41+
process.stdout.clearLine?.(0);
42+
process.stdout.cursorTo?.(0);
4343
}
4444
process.stdout.write(msg);
4545
};

0 commit comments

Comments
 (0)