Skip to content

Fix non-deterministic variant sorting #4426

Fix non-deterministic variant sorting

Fix non-deterministic variant sorting #4426

Triggered via pull request October 31, 2024 10:49
Status Failure
Total duration 1m 24s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/index.test.ts > processing without specifying a base path > the current working directory is used by default: packages/tailwindcss/src/variants.ts#L247
TypeError: Cannot read properties of null (reading 'kind') ❯ Variants.compare ../tailwindcss/src/variants.ts:247:16 ❯ ../tailwindcss/src/design-system.ts:99:45 ❯ Object.getVariantOrder ../tailwindcss/src/design-system.ts:99:16 ❯ Module.compileCandidates ../tailwindcss/src/compile.ts:48:38 ❯ Object.build ../tailwindcss/src/index.ts:534:24 ❯ OnceExit src/index.ts:193:34 ❯ LazyResult.runAsync ../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/lazy-result.js:298:15 ❯ src/index.test.ts:119:18
tests (20, namespace-profile-default, false)
Process completed with exit code 1.