1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.colors = void 0;
|
4 | const ansiColors = require("ansi-colors");
|
5 | const tty_1 = require("tty");
|
6 | const supportsColor = process.stdout instanceof tty_1.WriteStream && process.stdout.getColorDepth() > 1;
|
7 | // Create a separate instance to prevent unintended global changes to the color configuration
|
8 | // Create function is not defined in the typings. See: https://github.com/doowb/ansi-colors/pull/44
|
9 | const colors = ansiColors.create();
|
10 | exports.colors = colors;
|
11 | colors.enabled = supportsColor;
|
12 | ``;
|
13 | //# sourceMappingURL=color.js.map |
\ | No newline at end of file |