Skip to content

Commit 410b56e

Browse files
clydinmgechev
authored andcommitted
fix(@angular/cli): check for CI environment variable in tty helper
Fixes #14563
1 parent 37debd7 commit 410b56e

File tree

1 file changed

+1
-1
lines changed
  • packages/angular/cli/utilities

1 file changed

+1
-1
lines changed

packages/angular/cli/utilities/tty.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ export function isTTY(): boolean {
1111
return !(force === '0' || force.toUpperCase() === 'FALSE');
1212
}
1313

14-
return !!process.stdout.isTTY && !!process.stdin.isTTY;
14+
return !!process.stdout.isTTY && !!process.stdin.isTTY && !('CI' in process.env);
1515
}

0 commit comments

Comments
 (0)