Skip to content

Commit

Permalink
Use helper when merging analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mainej committed Jun 13, 2022
1 parent 08970f2 commit 2275349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/clojure_lsp/feature/java_interop.clj
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
(= :jdk-already-installed result)
(let [global-db (db/read-global-cache)]
(swap! db* #(-> %
(update :analysis merge (:analysis global-db))
(lsp.kondo/db-with-analysis (:analysis global-db))
(update :analysis-checksums merge (:analysis-checksums global-db))))
(logger/info java-logger-tag "JDK source cached loaded successfully."))

Expand Down

0 comments on commit 2275349

Please sign in to comment.