Permalink
Browse files

use (get project key) to be consistent

  • Loading branch information...
1 parent d4acd83 commit cc7d759c10daea8c3cecdc3bef5d92dbdbdfbf7c @ninjudd ninjudd committed Aug 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 leiningen-core/src/leiningen/core/classpath.clj
@@ -106,7 +106,7 @@
[dependencies-key {:keys [repositories local-repo offline? update
checksum mirrors] :as project}
& {:keys [add-classpath?]}]
- {:pre [(every? vector? (project dependencies-key))]}
+ {:pre [(every? vector? (get project dependencies-key))]}
(try
((if add-classpath?
pomegranate/add-dependencies
@@ -116,7 +116,7 @@
:repositories (->> repositories
(map add-repo-auth)
(map (partial update-policies update checksum)))
- :coordinates (project dependencies-key)
+ :coordinates (get project dependencies-key)
:mirrors mirrors
:transfer-listener :stdout
:proxy (get-proxy-settings))
@@ -153,7 +153,7 @@
"Returns a graph of the project's dependencies."
[dependencies-key project]
(aether/dependency-hierarchy
- (project dependencies-key)
+ (get project dependencies-key)
(get-dependencies dependencies-key project)))
(defn- normalize-path [root path]

0 comments on commit cc7d759

Please sign in to comment.