fix(fs): error in expand assets path

This commit is contained in:
Andelf
2023-03-28 22:33:15 +08:00
parent 90b0160f3c
commit 1fe084af86

View File

@@ -462,7 +462,7 @@
(get-repo-dir (state/get-current-repo)) "assets"))
"/")]
(when (not-empty source)
(string/replace source #"\\.\\./assets/"
(string/replace source #"\.\./assets/"
assets-link-fn))))
(defn get-current-repo-assets-root