mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 20:11:29 -05:00
🐛 Prevent exception when no file is found on process file srepl helper
This commit is contained in:
parent
df7dd15705
commit
a3bc4ff9f3
1 changed files with 4 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue