mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Only use colors if we are certain we are using a pseudoterminal.
This commit is contained in:
@@ -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