Explorar o código

fix(mobile): safety path join for ios graph files fs operation

charlie %!s(int64=3) %!d(string=hai) anos
pai
achega
5c39af2723
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/frontend/config.cljs

+ 1 - 1
src/main/frontend/config.cljs

@@ -388,7 +388,7 @@
 
                  (and (mobile-util/native-ios?) (local-db? repo-url))
                  (let [dir (get-repo-dir repo-url)]
-                   (str dir relative-path))
+                   (util/safe-path-join dir relative-path))
 
                  (and (mobile-util/native-android?) (local-db? repo-url))
                  (let [dir (get-repo-dir repo-url)