fix(ios): failed to write files

pull/3535/head
leizhe 2021-12-17 11:44:15 +08:00 committed by Tienson Qin
parent 1b7857b631
commit 3bcd0bdf3f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@
(write-file! [this repo dir path content {:keys [ok-handler error-handler] :as opts}]
(let [path (cond
(= (util/platform) "ios")
path
(str dir path)
(string/starts-with? path (config/get-repo-dir repo))
path