diff --git a/src/extension.coffee b/src/extension.coffee index e4dbe90..90d9b32 100644 --- a/src/extension.coffee +++ b/src/extension.coffee @@ -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