| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d5fc823 commit 0b32a8c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,10 +14,10 @@ const { | |||
| 14 | 14 | const assert = require('assert'); | |
| 15 | 15 | const Transform = require('internal/streams/transform'); | |
| 16 | 16 | const { inspectWithNoCustomRetry } = require('internal/errors'); | |
| 17 | - const { green, blue, red, white, gray } = require('internal/util/colors'); | ||
| 17 | + const { green, blue, red, white, gray, hasColors } = require('internal/util/colors'); | ||
| 18 | 18 | const { getCoverageReport } = require('internal/test_runner/utils'); | |
| 19 | 19 | ||
| 20 | - const inspectOptions = { __proto__: null, colors: true, breakLength: Infinity }; | ||
| 20 | + const inspectOptions = { __proto__: null, colors: hasColors, breakLength: Infinity }; | ||
| 21 | 21 | ||
| 22 | 22 | const colors = { | |
| 23 | 23 | '__proto__': null, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments