mirror of
https://github.com/penpot/penpot.git
synced 2025-05-05 14:15:54 +02:00
🐛 Fix linter issues
This commit is contained in:
parent
f6134a6bd3
commit
578c561473
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@
|
||||||
(a/close! output)))
|
(a/close! output)))
|
||||||
|
|
||||||
(defn- send-mattermost-notification!
|
(defn- send-mattermost-notification!
|
||||||
[cfg {:keys [host version id] :as cdata}]
|
[cfg {:keys [host id] :as cdata}]
|
||||||
(try
|
(try
|
||||||
(let [uri (:uri cfg)
|
(let [uri (:uri cfg)
|
||||||
text (str "Unhandled exception (host: " host ", url: " (cfg/get :public-uri) "/dbg/error-by-id/" id "\n"
|
text (str "Unhandled exception (host: " host ", url: " (cfg/get :public-uri) "/dbg/error-by-id/" id "\n"
|
||||||
|
|
|
@ -258,7 +258,7 @@
|
||||||
|
|
||||||
(defmethod migrate 11
|
(defmethod migrate 11
|
||||||
[data]
|
[data]
|
||||||
(letfn [(update-object [objects id shape]
|
(letfn [(update-object [objects _id shape]
|
||||||
(if (= :frame (:type shape))
|
(if (= :frame (:type shape))
|
||||||
(d/update-when shape :shapes (fn [shapes]
|
(d/update-when shape :shapes (fn [shapes]
|
||||||
(filterv (fn [id] (contains? objects id)) shapes)))
|
(filterv (fn [id] (contains? objects id)) shapes)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue