Skip to content

Commit

Permalink
fix: don't trigger LS initialization from bulk file listener
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Apr 2, 2024
1 parent 769431b commit c6aaba1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class SnykCodeBulkFileListener : SnykBulkFileListener() {
val languageServerWrapper = LanguageServerWrapper.getInstance()

if (!isSnykCodeLSEnabled()) return
if (!languageServerWrapper.ensureLanguageServerInitialized()) return
if (!languageServerWrapper.isInitialized) return

val languageServer = languageServerWrapper.languageServer
for (event in events) {
Expand Down

0 comments on commit c6aaba1

Please sign in to comment.