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
29
29
- Try using local ` postcss ` installation first in the CLI ([ #8270 ] ( https://github.com/tailwindlabs/tailwindcss/pull/8270 ) )
30
30
- Allow default ring color to be a function ([ #7587 ] ( https://github.com/tailwindlabs/tailwindcss/pull/7587 ) )
31
31
- 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 ) )
32
33
33
34
### Changed
34
35
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import colors from 'picocolors'
3
3
let alreadyShown = new Set ( )
4
4
5
5
function log ( type , messages , key ) {
6
- if ( process . env . JEST_WORKER_ID !== undefined ) return
6
+ if ( typeof process !== ' undefined' && process . env . JEST_WORKER_ID ) return
7
7
8
8
if ( key && alreadyShown . has ( key ) ) return
9
9
if ( key ) alreadyShown . add ( key )
You can’t perform that action at this time.
0 commit comments