From 95a37042797fd3a5a6aade05dde4a841d37f78fa Mon Sep 17 00:00:00 2001 From: Paul deGrandis Date: Mon, 5 Mar 2012 12:41:20 -0500 Subject: [PATCH] Fixed a small bad smell; shouldn't use ns --- src/leiningen/kibit.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/leiningen/kibit.clj b/src/leiningen/kibit.clj index c682536..93b7760 100644 --- a/src/leiningen/kibit.clj +++ b/src/leiningen/kibit.clj @@ -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 "==")