Skip to content

Commit 2103237

Browse files
committed
fix(test): try to fix windows url
1 parent 8f5c736 commit 2103237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ async function watchEditsToRestartLanguageClient(context: ExtensionContext) {
264264
try {
265265
// get the absolute URI to this relative path
266266
let configUri = Uri.file(
267-
workspace.workspaceFolders![0].uri.fsPath + '/' + configPath
267+
path.join(workspace.workspaceFolders![0].uri.fsPath, configPath)
268268
)
269269
// read the config file
270270
let configText = await workspace.fs.readFile(configUri)

0 commit comments

Comments
 (0)