Skip to content

Commit 2585e4c

Browse files
committed
No longer calling deprecated tools deps fn
We are still doing exactly the same thing, but no longer calling the deprecated clojure.tools.deps.alpha/make-classpath. So... anyway. Closes #39
1 parent 7bfdd40 commit 2585e4c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.clj-kondo/config.edn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
{:config-paths ^:replace []
2-
:linters {:deprecated-var
3-
{:exclude {clojure.tools.deps.alpha/make-classpath
4-
{:namespaces [cljdoc-analyzer.deps]}} }}}
1+
{:config-paths ^:replace []}

src/cljdoc_analyzer/deps.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@
116116
(defn make-classpath
117117
"Build a classpath for `resolved-deps`."
118118
[resolved-deps]
119-
(tdeps/make-classpath resolved-deps [] nil))
119+
(-> (tdeps/make-classpath-map {:paths []} resolved-deps nil)
120+
:classpath-roots
121+
tdeps/join-classpath))
120122

121123
(defn print-tree [resolved-deps]
122124
(tdeps/print-tree resolved-deps))

0 commit comments

Comments
 (0)