mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 01:25:43 -05:00
Fixes issue with open commit in remote not working
This commit is contained in:
@@ -17,7 +17,7 @@ export class OpenCommitInRemoteCommand extends ActiveEditorCommand {
|
||||
uri = editor.document.uri;
|
||||
}
|
||||
|
||||
if ((editor && editor.document && editor.document.isDirty) || uri) return undefined;
|
||||
if ((editor && editor.document && editor.document.isDirty) || !uri) return undefined;
|
||||
|
||||
const gitUri = await GitUri.fromUri(uri, this.git);
|
||||
if (!gitUri.repoPath) return undefined;
|
||||
|
||||
Reference in New Issue
Block a user