Explorar el Código

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

charlie hace 3 años
padre
commit
5c39af2723
Se han modificado 1 ficheros con 1 adiciones y 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)