mirror of https://github.com/logseq/logseq
fix(lint): bad condition branch
parent
4e9c6bceb4
commit
2e3becef1c
|
@ -99,7 +99,7 @@
|
||||||
(state/reset-all-updates-state)
|
(state/reset-all-updates-state)
|
||||||
(throw e))))
|
(throw e))))
|
||||||
(fn [mfts]
|
(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))
|
(ipc/ipc "updateMarketPlugin" (merge (dissoc pkg :logger) mft))
|
||||||
(throw (js/Error. (str ":not-found-in-marketplace" id))))
|
(throw (js/Error. (str ":not-found-in-marketplace" id))))
|
||||||
true))
|
true))
|
||||||
|
|
Loading…
Reference in New Issue