mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
refactor: path/absolute?
This commit is contained in:
@@ -711,7 +711,7 @@
|
||||
(gp-util/url? path)
|
||||
path
|
||||
|
||||
(util/absolute-path? path)
|
||||
(path/absolute? path)
|
||||
path
|
||||
|
||||
:else
|
||||
@@ -1009,7 +1009,7 @@
|
||||
|
||||
(defn- relative-assets-path->absolute-path
|
||||
[path]
|
||||
(if (util/absolute-path? path)
|
||||
(if (path/absolute? path)
|
||||
path
|
||||
(.. util/node-path
|
||||
(join (config/get-repo-dir (state/get-current-repo))
|
||||
|
||||
Reference in New Issue
Block a user