Skip to content

Commit c416662

Browse files
fix(blazebuild): add TTY check
1 parent c04459d commit c416662

File tree

1 file changed

+4
-0
lines changed
  • blazebuild/src/main/typescript/io

1 file changed

+4
-0
lines changed

blazebuild/src/main/typescript/io/IO.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ class IO {
99
private static _progress?: Progress;
1010

1111
public static createProgress(total: number): void {
12+
if (!process.stdout.isTTY) {
13+
return;
14+
}
15+
1216
this._progress = new Progress(total);
1317
this._progress.render();
1418
}

0 commit comments

Comments
 (0)