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);