Skip to content

Commit

Permalink
Change from concat to into, to ensure vector
Browse files Browse the repository at this point in the history
Since pomegranate mentions that it likes vectors as inputs to its
functions, this commit changes the normalization function to use
`into` instead of `concat`, to make sure that we get a vector instead
of a sequence.
  • Loading branch information
cprice404 committed Sep 18, 2016
1 parent 5bd091a commit 1e5d1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leiningen-core/src/leiningen/core/classpath.clj
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@
;; it's important to preserve the metadata, because it is used for
;; profile merging, etc.
(with-meta
(concat [id version] opts)
(into [id version] opts)
(meta dep)))))

(defn normalize-dep-vectors
Expand Down

0 comments on commit 1e5d1fd

Please sign in to comment.