Skip to content

Commit 37fbd35

Browse files
committed
Fix windows compatibility bug
1 parent c6bf69a commit 37fbd35

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

language-server/src/services/configuration.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { fileURLToPath } from "node:url";
21
import { DidChangeConfigurationNotification } from "vscode-languageserver";
32
import picomatch from "picomatch";
43

@@ -106,8 +105,7 @@ export class Configuration {
106105
this.#matcher = picomatch(schemaFilePatterns);
107106
}
108107

109-
const path = fileURLToPath(uri);
110-
return this.#matcher(path);
108+
return this.#matcher(uri);
111109
}
112110

113111
/** @type (handler: NotificationHandler<DidChangeConfigurationParams>) => void */

0 commit comments

Comments
 (0)