mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
fix uri resolving
This commit is contained in:
parent
7674a4c305
commit
01c954fc2f
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ smeagol.include and not inteded for direct usage."
|
||||||
(s/defmethod resolve/do-resolve-md :local-file
|
(s/defmethod resolve/do-resolve-md :local-file
|
||||||
[resolver
|
[resolver
|
||||||
uri :- s/Str]
|
uri :- s/Str]
|
||||||
(let [file-name (uri)
|
(let [file-name uri
|
||||||
file-path (cjio/file (:local-base-dir resolver) file-name)
|
file-path (cjio/file (:local-base-dir resolver) file-name)
|
||||||
exists? (.exists (clojure.java.io/as-file file-path))]
|
exists? (.exists (clojure.java.io/as-file file-path))]
|
||||||
(cond exists?
|
(cond exists?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue