Skip to content

Commit

Permalink
Merge pull request #2608 from saitouena/consistent_load_order_for_lei…
Browse files Browse the repository at this point in the history
…n_check

add consistent load order for lein check
  • Loading branch information
technomancy authored Aug 3, 2019
2 parents 84e99a5 + 5ed19d8 commit f39bdb6
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 f39bdb6

Please sign in to comment.