chore: remove warning on path join with empty dir

This commit is contained in:
Tienson Qin
2026-05-03 23:53:55 +08:00
parent 8b20877f7f
commit 3f78f3a3d2

View File

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