mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 09:01:39 +02: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
Add a link
Reference in a new issue