File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -997,18 +997,20 @@ export class TW {
997
997
}
998
998
}
999
999
1000
- if ( picomatch ( pattern , { dot : true } ) ( fsPath ) && selector . priority < matchedPriority ) {
1001
- matchedProject = project
1002
- matchedPriority = selector . priority
1000
+ if ( selector . priority < matchedPriority ) {
1001
+ if ( picomatch ( pattern , { dot : true } ) ( fsPath ) ) {
1002
+ matchedProject = project
1003
+ matchedPriority = selector . priority
1003
1004
1004
- continue
1005
- }
1005
+ continue
1006
+ }
1006
1007
1007
- if ( picomatch ( pattern , { dot : true } ) ( normalPath ) && selector . priority < matchedPriority ) {
1008
- matchedProject = project
1009
- matchedPriority = selector . priority
1008
+ if ( picomatch ( pattern , { dot : true } ) ( normalPath ) ) {
1009
+ matchedProject = project
1010
+ matchedPriority = selector . priority
1010
1011
1011
- continue
1012
+ continue
1013
+ }
1012
1014
}
1013
1015
}
1014
1016
}
You can’t perform that action at this time.
0 commit comments