(stream4, options = {})
| 65694 | if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { |
| 65695 | return 1; |
| 65696 | } |
| 65697 | if ("COLORTERM" in env) { |
| 65698 | return 1; |
| 65699 | } |
| 65700 | return min; |
| 65701 | } |
| 65702 | function createSupportsColor(stream4, options = {}) { |
| 65703 | const level = _supportsColor(stream4, { |
| 65704 | streamIsTTY: stream4 && stream4.isTTY, |
| 65705 | ...options |
no test coverage detected
searching dependent graphs…