Merge pull request #1649 from MarcoPolo/sequential-fix-in-relativize

seq? -> sequential? to be able to handle vectors in pom/relativize
This commit is contained in:
Phil Hagelberg 2014-08-20 20:14:27 -07:00
commit 004f8a24a6

View file

@ -12,7 +12,7 @@
(let [root (str (:root project) (System/getProperty "file.separator"))]
(reduce #(update-in %1 [%2]
(fn [xs]
(if (seq? xs)
(if (sequential? xs)
(vec (for [x xs]
(.replace x root "")))
(and xs (.replace xs root "")))))