-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
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
bug: Deno.noColor
returns true
in canary
#21207
Comments
CC @littledivy I think this might be related to lazy loading of this value? |
|
I think there was a confusion between |
Yesterday, CI in the Standard Library for Deno canary started failing because of failing tests in std/fmt/colors_test.ts. After some troubleshooting, it appears they're failing because
Deno.noColor
is now returningtrue
for some reason. However, in stable,Deno.noColor
returnsfalse
, and the tests pass fine.I believe this behaviour was changed in either #20720 or #21191. This issue arose around the same time as these PRs being merged, and they both touch ext/console/01_console.js, which contains some of the code that implements
Deno.noColor
. However, the revert has not fixed the issue.The text was updated successfully, but these errors were encountered: