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:
commit
004f8a24a6
1 changed files with 1 additions and 1 deletions
|
@ -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 "")))))
|
||||
|
|
Loading…
Reference in a new issue