mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix(lint): bad condition branch
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
(state/reset-all-updates-state)
|
||||
(throw e))))
|
||||
(fn [mfts]
|
||||
(when-let [mft (some #(when (= (:id %) id) %) mfts)]
|
||||
(if-let [mft (some #(when (= (:id %) id) %) mfts)]
|
||||
(ipc/ipc "updateMarketPlugin" (merge (dissoc pkg :logger) mft))
|
||||
(throw (js/Error. (str ":not-found-in-marketplace" id))))
|
||||
true))
|
||||
|
||||
Reference in New Issue
Block a user