You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the supportsColor() function does not consider all the environment variables fresh each time it's called. This means changing process.env.FORCE_COLOR at runtime has no effect on the supportsColor() result.
This bug prevents us from being able to do process.env.FORCE_COLOR = '1', run a snapshot test of something that uses chalk/supports-color for formatting, then revert the FORCE_COLOR back again.
At the moment, the
supportsColor()
function does not consider all the environment variables fresh each time it's called. This means changingprocess.env.FORCE_COLOR
at runtime has no effect on thesupportsColor()
result.This bug prevents us from being able to do
process.env.FORCE_COLOR = '1'
, run a snapshot test of something that useschalk
/supports-color
for formatting, then revert theFORCE_COLOR
back again.This issue probably blocks a fix for babel/babel#12442 .
The text was updated successfully, but these errors were encountered: