use new function get-file-path in stat

This commit is contained in:
leizhe
2022-01-24 14:39:56 +08:00
committed by Tienson Qin
parent 1f1f3f5a24
commit ce53a8ca2c

View File

@@ -239,7 +239,7 @@
(fn [error]
(log/error :rename-file-failed error)))))
(stat [_this dir path]
(let [path (str dir path)]
(let [path (get-file-path dir path)]
(p/let [result (.stat Filesystem (clj->js
{:path path
;; :directory (.-ExternalStorage Directory)