We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2283247 commit 146c3e2Copy full SHA for 146c3e2
lib/cli.js
@@ -75,7 +75,7 @@ exports.run = () => {
75
],
76
default: {
77
cache: conf.cache,
78
- color: 'color' in conf ? conf.color : true,
+ color: 'color' in conf ? conf.color : require('supports-color') !== false,
79
concurrency: conf.concurrency,
80
failFast: conf.failFast,
81
init: conf.init,
package.json
@@ -161,6 +161,7 @@
161
"stack-utils": "^1.0.0",
162
"strip-ansi": "^3.0.1",
163
"strip-bom-buf": "^1.0.0",
164
+ "supports-color": "^3.2.3",
165
"time-require": "^0.1.2",
166
"unique-temp-dir": "^1.0.0",
167
"update-notifier": "^2.1.0"
0 commit comments