Prechádzať zdrojové kódy

fix(sync): full-sync path encodeURIComponent

rcmerci 3 rokov pred
rodič
commit
2eb8b9dcb1
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/main/frontend/fs/sync.cljs

+ 1 - 1
src/main/frontend/fs/sync.cljs

@@ -1310,7 +1310,7 @@
         (println "[full-sync(remote->local)]"
                  (count sorted-diff-remote-files) "files need to sync")
         (<! (.sync-files-remote->local!
-             this (map relative-path sorted-diff-remote-files)
+             this (map (comp js/encodeURIComponent relative-path) sorted-diff-remote-files)
              latest-txid))))))
 
 (defn- file-changed?