mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 17:11:46 +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))))
|
(bfc/get-file system id))))
|
||||||
(d/index-by :id)))
|
(d/index-by :id)))
|
||||||
|
|
||||||
file' (if with-libraries?
|
file' (when file
|
||||||
(update-fn file libs opts)
|
(if with-libraries?
|
||||||
(update-fn file opts))]
|
(update-fn file libs opts)
|
||||||
|
(update-fn file opts)))]
|
||||||
|
|
||||||
(when (and (some? file')
|
(when (and (some? file')
|
||||||
(not (identical? file file')))
|
(not (identical? file file')))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue