Skip to content

Commit 1485f11

Browse files
committed
Fix NO_COLOR
1 parent 2c5a07d commit 1485f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/executeCommandLine/executeCommandLine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace ts {
9090
}
9191

9292
function createColors(sys: System) {
93-
const showColors = defaultIsPretty(sys) || !!sys.getEnvironmentVariable("NO_COLOR");
93+
const showColors = defaultIsPretty(sys) && !sys.getEnvironmentVariable("NO_COLOR");
9494
if (!showColors) {
9595
return {
9696
bold: (str: string) => str,

0 commit comments

Comments
 (0)