Skip to content

Commit

Permalink
Fix opening the right repository in SCM menu when using VSCode, not V…
Browse files Browse the repository at this point in the history
…SCodium

fixes #42
  • Loading branch information
phil294 committed Feb 23, 2024
1 parent 99bea47 commit 3cd04b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ module.exports.activate = (###* @type vscode.ExtensionContext ### context) =>
# General start, will choose from creating/show editor panel or showing side nav view depending on config
context.subscriptions.push vscode.commands.registerCommand START_CMD, (args) =>
log.appendLine "start command"
if args?.handle? # invoked via menu scm/title
if args?.rootUri # invoked via menu scm/title
state('selected-repo-index').set(await git.get_repo_index_for_uri(args.rootUri))
if vscode.workspace.getConfiguration(EXT_ID).get('position') == "editor"
if webview_container
Expand Down

0 comments on commit 3cd04b2

Please sign in to comment.