Skip to content

Commit

Permalink
🐛 Fix Analysis and Resolution file paths relative to workspaceRoot
Browse files Browse the repository at this point in the history
Incident file path information changed to use Uri
values.  Since the `workspaceRoot` being handed to
the webviews was fsPath based, the full Uris were
being rendered.  Pass the workspaceRoot as a Uri
string and get the `relativeDirname()` function working
properly again.

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Jan 30, 2025
1 parent 9085978 commit f2f36b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class VsCodeExtension {
solutionData: undefined,
serverState: "initial",
solutionScope: undefined,
workspaceRoot: paths.workspaceRepo.fsPath,
workspaceRoot: paths.workspaceRepo.toString(),
solutionMessages: [],
solutionState: "none",
},
Expand Down

0 comments on commit f2f36b5

Please sign in to comment.