Fixed a small bad smell; shouldn't use ns

This commit is contained in:
Paul deGrandis 2012-03-05 12:41:20 -05:00
parent 2602c0335e
commit 95a3704279

View file

@ -1,5 +1,5 @@
(ns leiningen.kibit
(:require [clojure.tools.namespace :as ns]
(:require [clojure.tools.namespace :as clj-ns]
[clojure.java.io :as io]
[jonase.kibit.core :as kibit]))
@ -8,7 +8,7 @@
[project]
(let [paths (or (:source-paths project) [(:source-path project)])
namespaces (apply concat (for [path paths]
(ns/find-namespaces-in-dir (io/file path))))]
(clj-ns/find-namespaces-in-dir (io/file path))))]
(doseq [ns-sym namespaces]
(try
(println "==" ns-sym "==")