Skip to content
Browse files

Fix merge-profile, which was incorrectly appending to the :included-p…

…rofiles meta.
  • Loading branch information...
1 parent 3fe6650 commit af618379a994bd21304bef1d82c1320c90433cee @davidsantiago davidsantiago committed May 9, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 leiningen-core/src/leiningen/core/project.clj
View
4 leiningen-core/src/leiningen/core/project.clj
@@ -150,9 +150,7 @@
(defn merge-profile [project profile]
(vary-meta (merge-with profile-key-merge project profile)
- merge
- {:included-profiles (concat (:included-profiles (meta project))
- profile)}))
+ update-in [:included-profiles] conj profile))
(defn- lookup-profile [profiles profile-name]
(let [result (profiles profile-name)]

0 comments on commit af61837

Please sign in to comment.
Something went wrong with that request. Please try again.