diff --git a/src/main/clojure/clojure/tools/deps.clj b/src/main/clojure/clojure/tools/deps.clj index 10359da..2481c85 100644 --- a/src/main/clojure/clojure/tools/deps.clj +++ b/src/main/clojure/clojure/tools/deps.clj @@ -509,7 +509,7 @@ (defn- make-tree [lib-map] (let [{roots false, nonroots true} (group-by #(-> % val :dependents boolean) lib-map)] - (loop [q (into (PersistentQueue/EMPTY) roots) + (loop [q (into PersistentQueue/EMPTY roots) remaining nonroots tree {}] (let [[lib coord :as node] (peek q)