We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dcbed commit ec9c9b5Copy full SHA for ec9c9b5
src/_color.ts
@@ -1,6 +1,6 @@
1
// Colors support for terminal output
2
const noColor = /* @__PURE__ */ (() => {
3
- const env = globalThis.process?.env;
+ const env = globalThis.process?.env ?? {};
4
return env.NO_COLOR === "1" || env.TERM === "dumb";
5
})();
6
0 commit comments