Skip to content

Commit 7555415

Browse files
committed
Cleanup some logging
1 parent aaa3b70 commit 7555415

File tree

1 file changed

+0
-15
lines changed
  • packages/tailwindcss-language-server/src

1 file changed

+0
-15
lines changed

packages/tailwindcss-language-server/src/tw.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,6 @@ export class TW {
799799
return 0
800800
})
801801

802-
console.log('[GLOBAL] Checking selectors', documentSelector)
803-
804802
for (let selector of documentSelector) {
805803
let uri = URI.parse(document.uri)
806804
let pattern = selector.pattern.replace(/[\[\]{}]/g, (m) => `\\${m}`)
@@ -813,21 +811,12 @@ export class TW {
813811
// to normalize it so that we can compare it properly.
814812
fsPath = normalizeDriveLetter(fsPath)
815813

816-
console.log('[GLOBAL] Checking document', {
817-
fsPath,
818-
normalPath,
819-
})
820-
821814
if (pattern.startsWith('!')) {
822815
if (picomatch(pattern.slice(1), { dot: true })(fsPath)) {
823816
break
824817
}
825818

826819
if (picomatch(pattern.slice(1), { dot: true })(normalPath)) {
827-
console.log('[GLOBAL] Matched ignored non-FS path', {
828-
pattern,
829-
})
830-
831820
break
832821
}
833822
}
@@ -843,10 +832,6 @@ export class TW {
843832
picomatch(pattern, { dot: true })(normalPath) &&
844833
selector.priority < matchedPriority
845834
) {
846-
console.log('[GLOBAL] Matched non-FS path', {
847-
pattern,
848-
})
849-
850835
matchedProject = project
851836
matchedPriority = selector.priority
852837

0 commit comments

Comments
 (0)