mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Prevent exception when no file is found on process file srepl helper
This commit is contained in:
parent
df7dd15705
commit
a3bc4ff9f3
@ -132,9 +132,10 @@
|
||||
(bfc/get-file system id))))
|
||||
(d/index-by :id)))
|
||||
|
||||
file' (if with-libraries?
|
||||
(update-fn file libs opts)
|
||||
(update-fn file opts))]
|
||||
file' (when file
|
||||
(if with-libraries?
|
||||
(update-fn file libs opts)
|
||||
(update-fn file opts)))]
|
||||
|
||||
(when (and (some? file')
|
||||
(not (identical? file file')))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user