seq? -> sequential? to be able to handle vectors in pom/relativize
The current implementation would break if a middleware plugin emitted a vector for any of the keys in L20 . It wraps the output in a vec, so it's reasonable to assume it could take a vec as well.
This commit is contained in:
parent
be909c8f45
commit
90c13d91fe
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