Skip to content

Commit 3b890c3

Browse files
Use local path instead of OriginalString (#1161)
1 parent f16d657 commit 3b890c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Server/PsesLanguageServer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public async Task StartAsync()
101101
// Grab the workspace path from the parameters
102102
if (request.RootUri != null)
103103
{
104-
workspaceService.WorkspacePath = workspaceService.ResolveFileUri(request.RootUri).OriginalString;
104+
workspaceService.WorkspacePath = workspaceService.ResolveFileUri(request.RootUri).LocalPath;
105105
}
106106

107107
// Set the working directory of the PowerShell session to the workspace path

0 commit comments

Comments
 (0)