File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -799,8 +799,6 @@ export class TW {
799
799
return 0
800
800
} )
801
801
802
- console . log ( '[GLOBAL] Checking selectors' , documentSelector )
803
-
804
802
for ( let selector of documentSelector ) {
805
803
let uri = URI . parse ( document . uri )
806
804
let pattern = selector . pattern . replace ( / [ \[ \] { } ] / g, ( m ) => `\\${ m } ` )
@@ -813,21 +811,12 @@ export class TW {
813
811
// to normalize it so that we can compare it properly.
814
812
fsPath = normalizeDriveLetter ( fsPath )
815
813
816
- console . log ( '[GLOBAL] Checking document' , {
817
- fsPath,
818
- normalPath,
819
- } )
820
-
821
814
if ( pattern . startsWith ( '!' ) ) {
822
815
if ( picomatch ( pattern . slice ( 1 ) , { dot : true } ) ( fsPath ) ) {
823
816
break
824
817
}
825
818
826
819
if ( picomatch ( pattern . slice ( 1 ) , { dot : true } ) ( normalPath ) ) {
827
- console . log ( '[GLOBAL] Matched ignored non-FS path' , {
828
- pattern,
829
- } )
830
-
831
820
break
832
821
}
833
822
}
@@ -843,10 +832,6 @@ export class TW {
843
832
picomatch ( pattern , { dot : true } ) ( normalPath ) &&
844
833
selector . priority < matchedPriority
845
834
) {
846
- console . log ( '[GLOBAL] Matched non-FS path' , {
847
- pattern,
848
- } )
849
-
850
835
matchedProject = project
851
836
matchedPriority = selector . priority
852
837
You can’t perform that action at this time.
0 commit comments