mirror of
https://github.com/penpot/penpot.git
synced 2025-03-18 10:41:29 -05:00
🐛 Fix incorrect change detection on srepl helper process-file
This commit is contained in:
parent
39cb4a081b
commit
e8a1c58c5d
2 changed files with 1 additions and 4 deletions
|
@ -168,7 +168,7 @@
|
|||
(update-fn file libs opts)
|
||||
(update-fn file opts))]
|
||||
|
||||
(when (and (some? file)
|
||||
(when (and (some? file')
|
||||
(not (identical? file file')))
|
||||
(when validate? (cfv/validate-file-schema! file'))
|
||||
(let [file' (update file' :revn inc)]
|
||||
|
|
|
@ -380,9 +380,6 @@
|
|||
"Apply a function to all files in the database, reading them in
|
||||
batches. Do not change data.
|
||||
|
||||
The `on-file` parameter should be a function that receives the file
|
||||
and the previous state and returns the new state.
|
||||
|
||||
Emits rollback at the end of operation."
|
||||
[on-file & {:keys [max-items start-at with-libraries?]}]
|
||||
(letfn [(get-candidates [conn]
|
||||
|
|
Loading…
Add table
Reference in a new issue