Skip to content

Commit

Permalink
Use local path instead of OriginalString (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt committed Jan 16, 2020
1 parent f16d657 commit 3b890c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PowerShellEditorServices/Server/PsesLanguageServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public async Task StartAsync()
// Grab the workspace path from the parameters
if (request.RootUri != null)
{
workspaceService.WorkspacePath = workspaceService.ResolveFileUri(request.RootUri).OriginalString;
workspaceService.WorkspacePath = workspaceService.ResolveFileUri(request.RootUri).LocalPath;
}
// Set the working directory of the PowerShell session to the workspace path
Expand Down

0 comments on commit 3b890c3

Please sign in to comment.