We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 856c838 commit b65de02Copy full SHA for b65de02
1 file changed
lib/supports-color.js
@@ -32,11 +32,15 @@ function supportsColor() /*: boolean */ {
32
return true;
33
}
34
35
+ if ('CI' in env) {
36
+ return true;
37
+ }
38
+
39
if (process.stdout.isTTY !== true) {
40
return false;
41
42
- if (process.platform === 'win32' || 'CI' in env) {
43
+ if (process.platform === 'win32') {
44
45
46
0 commit comments