We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pmap
1 parent 1b64607 commit eb77344Copy full SHA for eb77344
src/refactor_nrepl/core.clj
@@ -102,6 +102,8 @@
102
Note that files which are non-existent, hidden or build-artifacts
103
are pruned by this function."
104
[pred dir]
105
+ ;; ensure pmap is not used lazily:
106
+ {:post [(vector? %)]}
107
(->> dir
108
file-seq
109
;; `pmap` performs better in large projects.
@@ -112,7 +114,7 @@
112
114
(complement build-artifact?))
113
115
f)
116
f)))
- (filter identity)))
117
+ (filterv identity)))
118
119
(defn read-ns-form
120
([path]
0 commit comments