Skip to content

Commit

Permalink
fix: some more cleanup of the init code
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Oct 17, 2023
1 parent f2dde44 commit 59d3c35
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/snyk/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,7 @@ class SnykExtension extends SnykLib implements IExtension {
await this.languageServer.start();

// initialize contexts
const loggedIn = await configuration.getToken();
if (loggedIn != undefined) {
await this.contextService.setContext(SNYK_CONTEXT.LOGGEDIN, true);
}
await this.contextService.setContext(SNYK_CONTEXT.INITIALIZED, true);
await this.codeSettings.updateIsCodeEnabled();

// Actually start analysis
this.runScan();
Expand Down

0 comments on commit 59d3c35

Please sign in to comment.