Skip to content

Commit 031d660

Browse files
authored
Merge pull request #128 from codacy/improve-support-view-CF-1651-fix
fix: Update support view even with no repository open CF-1651
2 parents 2dd92b7 + 44b8e4f commit 031d660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ const registerGitProvider = async (context: vscode.ExtensionContext, codacyCloud
124124
export async function activate(context: vscode.ExtensionContext) {
125125
Logger.appendLine('Codacy extension activated')
126126
context.subscriptions.push(Logger)
127+
context.subscriptions.push(new SupportTree(context))
127128

128129
// Initialize telemetry with anonymous ID
129130
Telemetry.init(context)
@@ -185,7 +186,6 @@ export async function activate(context: vscode.ExtensionContext) {
185186
context.subscriptions.push(statusBar)
186187
context.subscriptions.push(new PullRequestsTree(context, codacyCloud))
187188
context.subscriptions.push(new BranchIssuesTree(context, codacyCloud))
188-
context.subscriptions.push(new SupportTree(context))
189189

190190
// initialize the problems diagnostic collection with status bar reference
191191
context.subscriptions.push(new ProblemsDiagnosticCollection(codacyCloud, statusBar))

0 commit comments

Comments
 (0)