mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Only use colors if we are certain we are using a pseudoterminal.
This commit is contained in:
1 parent
2b4febee1c
commit
c3e00a24f3
2 files changed
+12
-9
No files matched your search
+1
-1
@@ -272,7 +272,7 @@ namespace ts {
|
||||
args: process.argv.slice(2),
|
||||
newLine: _os.EOL,
|
||||
useCaseSensitiveFileNames: useCaseSensitiveFileNames,
|
||||
write(s: string): void {
|
||||
write(s: string): void {
|
||||
process.stdout.write(s);
|
||||
},
|
||||
writesToTty: () => _tty.isatty(1),
|
||||
|
||||
Reference in new issue
Block a user