mirror of
https://github.com/penpot/penpot.git
synced 2025-02-22 23:06:08 -05:00
✨ Fix linter issues
This commit is contained in:
parent
898e66fd18
commit
36518e0e6e
2 changed files with 2 additions and 2 deletions
|
@ -530,7 +530,7 @@
|
|||
|
||||
(defn- match-storage-entry-fn
|
||||
[]
|
||||
(let [pattern (str "^objects/([^/]+).json$")
|
||||
(let [pattern "^objects/([^/]+).json$"
|
||||
pattern (re-pattern pattern)]
|
||||
(fn [entry]
|
||||
(when-let [[_ id] (re-matches pattern (zip-entry-name entry))]
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
(let [conn (db/get-connection h/*system*)
|
||||
used (cfh/collect-used-media data)
|
||||
ids (db/create-array conn "uuid" used)
|
||||
sql (str "SELECT * FROM file_media_object WHERE id = ANY(?)")
|
||||
sql "SELECT * FROM file_media_object WHERE id = ANY(?)"
|
||||
rows (db/exec! conn [sql ids])
|
||||
index (reduce (fn [index media]
|
||||
(if (not= (:file-id media) id)
|
||||
|
|
Loading…
Add table
Reference in a new issue