Skip to content

Commit

Permalink
fix(test): try to fix windows url
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Feb 7, 2024
1 parent 8f5c736 commit 2103237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ async function watchEditsToRestartLanguageClient(context: ExtensionContext) {
try {
// get the absolute URI to this relative path
let configUri = Uri.file(
workspace.workspaceFolders![0].uri.fsPath + '/' + configPath
path.join(workspace.workspaceFolders![0].uri.fsPath, configPath)
)
// read the config file
let configText = await workspace.fs.readFile(configUri)
Expand Down

0 comments on commit 2103237

Please sign in to comment.