Skip to content

Commit 10a3aef

Browse files
committed
1 parent 03a93a1 commit 10a3aef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/git/src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ export class CommandCenter {
845845
try {
846846
document = await workspace.openTextDocument(uri);
847847
} catch (error) {
848-
await commands.executeCommand<void>('vscode.open', uri, opts);
848+
await commands.executeCommand('vscode.open', uri, opts);
849849
continue;
850850
}
851851

@@ -858,7 +858,7 @@ export class CommandCenter {
858858
const editor = await window.showTextDocument(document, opts);
859859
editor.revealRange(previousVisibleRanges[0]);
860860
} else {
861-
await window.showTextDocument(document, opts);
861+
await commands.executeCommand('vscode.open', uri, opts);
862862
}
863863
}
864864
}

0 commit comments

Comments
 (0)