Skip to content

Commit

Permalink
debug bbin
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Apr 26, 2024
1 parent 0fdd322 commit 90106cd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/borkdude/deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,17 @@ public class ClojureToolsDownloader {
(str (if (.isAbsolute (as-path f))
f
(if-let [dir *dir*]
(.relativize (unixify (.toAbsolutePath (as-path dir)))
(unixify (.toAbsolutePath (as-path f))))
(try
(.relativize (unixify (.toAbsolutePath (as-path dir)))
(unixify (.toAbsolutePath (as-path f))))
(catch Exception _
(binding [*out* *err*]
(println "Relativize error")
(println dir)
(println (unixify (.toAbsolutePath (as-path dir))))
(println f)
(println (unixify (.toAbsolutePath (as-path f)))))
f))
f))))

(defn- resolve-in-dir
Expand Down

0 comments on commit 90106cd

Please sign in to comment.