mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 11:26:26 +00:00
Fix two incorrect calls caught by tests
This commit is contained in:
committed by
Tienson Qin
parent
798bac18a5
commit
f4a012dfd6
@@ -255,7 +255,7 @@
|
||||
([result] (rf result))
|
||||
([result ^FileTxn filetxn]
|
||||
(if (and
|
||||
(or (.-updated? filetxn) (.deleted? filetxn))
|
||||
(or (.-updated? filetxn) (.-deleted? filetxn))
|
||||
(contains? @seen-update&delete-filetxns filetxn))
|
||||
result
|
||||
(do (vswap! seen-update&delete-filetxns conj filetxn)
|
||||
@@ -600,7 +600,7 @@
|
||||
(.-updated? (first filetxns))
|
||||
(update-local-files rsapi graph-uuid base-path (map relative-path filetxns))
|
||||
|
||||
(.deleted? (first filetxns))
|
||||
(.-deleted? (first filetxns))
|
||||
(let [filetxn (first filetxns)]
|
||||
(assert (= 1 (count filetxns)))
|
||||
(go
|
||||
|
||||
Reference in New Issue
Block a user