Fix two incorrect calls caught by tests

This commit is contained in:
Gabriel Horner
2022-04-06 17:02:16 -04:00
committed by Tienson Qin
parent 798bac18a5
commit f4a012dfd6

View File

@@ -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