Add tests for get-file-path in #4010

This commit is contained in:
Gabriel Horner
2022-01-31 12:36:49 -05:00
committed by Tienson Qin
parent 8beae2be0b
commit 2213a4e33d
2 changed files with 25 additions and 1 deletions

View File

@@ -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)