Skip to content

Commit

Permalink
Don't disable extension when enabled is set to false (still allows fo…
Browse files Browse the repository at this point in the history
…r manual checking)
  • Loading branch information
SanderRonde authored and Sander Ronde committed Aug 23, 2024
1 parent d00eeda commit eeeb1e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ async function startLanguageServer(
}

export async function activate(context: ExtensionContext): Promise<void> {
if (!getEditorConfiguration().get('phpstan.enabled')) {
return;
}

log(CLIENT_PREFIX, 'Initializing PHPStan extension');
createOutputChannel();
const client = await startLanguageServer(context);
Expand Down

0 comments on commit eeeb1e3

Please sign in to comment.