Skip to content

Commit

Permalink
Diffing OUTDATED comments with HEAD doesn't work in github.dev (#…
Browse files Browse the repository at this point in the history
…6517)

Fixes #6500
  • Loading branch information
alexr00 authored Dec 13, 2024
1 parent f52c69d commit 60e783f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,8 @@ export function registerCommands(

const localUriFromReviewUri = (reviewUri: vscode.Uri) => {
const { path, rootPath } = fromReviewUri(reviewUri.query);
return vscode.Uri.joinPath(vscode.Uri.file(rootPath), path);
const workspaceFolder = vscode.workspace.workspaceFolders![0];
return vscode.Uri.joinPath(vscode.Uri.file(rootPath), path).with({ scheme: workspaceFolder.uri.scheme, authority: workspaceFolder.uri.authority });
};

context.subscriptions.push(
Expand Down

0 comments on commit 60e783f

Please sign in to comment.