chore(deps): update rsapi

This commit is contained in:
Andelf
2023-05-31 13:29:59 +08:00
parent 2374c0bfc2
commit 9349f1a994
7 changed files with 40 additions and 45 deletions

View File

@@ -856,7 +856,6 @@
(let [token (<! (<get-token this))]
(<! (p->c (ipc/ipc "update-local-files" graph-uuid base-path filepaths token))))))
(<fetch-remote-files [this graph-uuid base-path filepaths]
(println "fetch-remote-files" graph-uuid base-path filepaths)
(go
(<! (<rsapi-cancel-all-requests))
(let [token (<! (<get-token this))]
@@ -957,7 +956,6 @@
:filePaths filepaths'
:token token})))))))
(<fetch-remote-files [this graph-uuid base-path filepaths]
(js/console.error "mobile <fetch-remote-files")
(go
(let [token (<! (<get-token this))
r (<! (<retry-rsapi
@@ -1592,7 +1590,6 @@
(fs/unlink! repo (path/path-join repo-dir base-file) {}))
;; base-content != current-content, merge, do not delete
(p/let [merged-content (diff-merge/three-way-merge base-content "" current-content format)]
(prn "local changed, merge deletion")
(fs/write-file! repo repo-dir current-change-file merged-content {:skip-compare? true})
(file-handler/alter-file repo current-change-file merged-content {:re-render-root? true
:from-disk? true