Skip to content

Commit

Permalink
add consistent load order for lein check
Browse files Browse the repository at this point in the history
  • Loading branch information
saitouena committed Jul 29, 2019
1 parent 6ab82cb commit 5ed19d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leiningen/check.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"Check syntax and warn on reflection."
([project]
(let [source-files (map io/file (:source-paths project))
nses (b/namespaces-on-classpath :classpath source-files
:ignore-unreadable? false)
nses (sort (b/namespaces-on-classpath :classpath source-files
:ignore-unreadable? false))
action `(let [failures# (atom 0)]
(doseq [ns# '~nses]
;; load will add the .clj, so can't use ns/path-for.
Expand Down

0 comments on commit 5ed19d8

Please sign in to comment.