Skip to content

Commit

Permalink
Don't warn of profile merge conflicts when the classes match.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Apr 7, 2012
1 parent 5206f93 commit 49dcb03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions leiningen-core/src/leiningen/core/project.clj
Expand Up @@ -144,6 +144,8 @@
(and (coll? result) (coll? latter))
(concat latter result)

(= (class result) (class latter)) latter

:else (doto latter (println "has a type mismatch merging profiles."))))

(defn merge-profile [project profile]
Expand Down

0 comments on commit 49dcb03

Please sign in to comment.