From d9a3b0e8cd03dcf0084bd0ab6cb4e6be25d41113 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 3 Sep 2019 12:57:37 -0400 Subject: [PATCH] Fixes issue w/ explore repo rev in latest vscode --- src/views/viewCommands.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/viewCommands.ts b/src/views/viewCommands.ts index a9bfb8b..fe2ce8a 100644 --- a/src/views/viewCommands.ts +++ b/src/views/viewCommands.ts @@ -504,6 +504,10 @@ export class ViewCommands { private exploreRepoRevision(node: ViewRefNode, options: { openInNewWindow?: boolean } = {}) { if (!(node instanceof ViewRefNode)) return; + if (options == null) { + options = {}; + } + const uri = toGitLensFSUri(node.ref, node.repoPath); const gitUri = GitUri.fromRevisionUri(uri);