diff --git a/deps/common/src/logseq/common/path.cljs b/deps/common/src/logseq/common/path.cljs index 6e065de854..1a4b5031e1 100644 --- a/deps/common/src/logseq/common/path.cljs +++ b/deps/common/src/logseq/common/path.cljs @@ -144,15 +144,6 @@ (defn path-join "Join path segments, or URL base and path segments" [base & segments] - (cond - ;; For debugging - ; (nil? base) - ; (js/console.log "path join with nil global directory" segments) - (= base "") - (js/console.error "BUG: should not join with empty dir" segments) - :else - nil) - (if (is-file-url? base) (apply url-join base segments) (let [rejoined-path (apply path-join-internal base segments)]