File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2929- Try using local ` postcss ` installation first in the CLI ([ #8270 ] ( https://github.com/tailwindlabs/tailwindcss/pull/8270 ) )
3030- Allow default ring color to be a function ([ #7587 ] ( https://github.com/tailwindlabs/tailwindcss/pull/7587 ) )
3131- Don't inherit ` to ` value from parent gradients ([ #8489 ] ( https://github.com/tailwindlabs/tailwindcss/pull/8489 ) )
32+ - Remove process dependency from log functions ([ #8530 ] ( https://github.com/tailwindlabs/tailwindcss/pull/8530 ) )
3233
3334### Changed
3435
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import colors from 'picocolors'
33let alreadyShown = new Set ( )
44
55function log ( type , messages , key ) {
6- if ( process . env . JEST_WORKER_ID !== undefined ) return
6+ if ( typeof process !== ' undefined' && process . env . JEST_WORKER_ID ) return
77
88 if ( key && alreadyShown . has ( key ) ) return
99 if ( key ) alreadyShown . add ( key )
You can’t perform that action at this time.
0 commit comments