mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
Add tests for get-file-path in #4010
This commit is contained in:
committed by
Tienson Qin
parent
8beae2be0b
commit
2213a4e33d
@@ -158,7 +158,7 @@
|
||||
(error-handler error)
|
||||
(log/error :write-file-failed error)))))))))
|
||||
|
||||
(defn- get-file-path [dir path]
|
||||
(defn get-file-path [dir path]
|
||||
(let [[dir path'] (map #(some-> %
|
||||
(string/replace "///" "/")
|
||||
js/decodeURI)
|
||||
|
||||
Reference in New Issue
Block a user