bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Permit (:builds (:cljsbuild project)) to be a list. #99

Closed amacdougall closed 8 years ago

amacdougall commented 8 years ago

When the builds collection is part of a composite profile, it may be a list instead of a vector. This is probably a bug in Leiningen, and I have reported it, but this commit provides a trivial workaround: apply mapv to the builds collection whether it is a vector or a seq. The result becomes a vector.

I know not all maintainers welcome pull requests without previous discussion. Just let me know what you'd prefer.

bensu commented 8 years ago

@amacdougall thanks!