Handle bultitude returning full ns form instead of just symbol.

This commit is contained in:
Marshall Bockrath-Vandegrift 2014-01-24 13:35:15 -05:00
parent b366c85b56
commit 466902da96

View file

@ -136,7 +136,7 @@
(defn- convert-to-ns [possible-file]
(if (and (.endsWith possible-file ".clj") (.exists (io/file possible-file)))
(str (b/ns-form-for-file possible-file))
(str (second (b/ns-form-for-file possible-file)))
possible-file))
(defn- read-args [args project]