From 92e616fa3f9d39b5beaf0e0cdd9f12c108b5babd Mon Sep 17 00:00:00 2001 From: Wolmir Nemitz Date: Tue, 4 Oct 2022 14:58:59 -0300 Subject: [PATCH] fix windows tests again --- languageServer/src/LanguageServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languageServer/src/LanguageServer.ts b/languageServer/src/LanguageServer.ts index a3bc86af7f..69cc7d6d06 100644 --- a/languageServer/src/LanguageServer.ts +++ b/languageServer/src/LanguageServer.ts @@ -87,7 +87,7 @@ export class LanguageServer { const filePath = this.getFilePathFromSymbol(symbolUnderCursor) const matchingFiles = allDocs.filter(doc => - URI.file(doc.uri).fsPath.endsWith(filePath) + URI.file(doc.uri).path.endsWith(filePath) ) return matchingFiles.map(doc => {