We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using sanitize-html in the browser which uses postcss which uses this.
When postcss imports collorette it fails on the line checking for isCompatibleTerminal
A quick fix would be to switch to the following by adding a check that tty.isatty exists before calling it.
tty.isatty
const isCompatibleTerminal = tty && tty.isatty && tty.isatty(1) && env.TERM && env.TERM !== "dumb"
The text was updated successfully, but these errors were encountered:
Yup, that's exactly what we're doing now. Should be fixed when you update your dependencies.
Sorry, something went wrong.
Ok well I think that would have actually solved my problem but it turns out postcss dropped colorette for nanocolors 12 hours ago 🤷
No branches or pull requests
I'm using sanitize-html in the browser which uses postcss which uses this.
When postcss imports collorette it fails on the line checking for isCompatibleTerminal
A quick fix would be to switch to the following by adding a check that
tty.isatty
exists before calling it.The text was updated successfully, but these errors were encountered: