leiningen.core.main/task-not-found needs to be marked as not needing a project to work properly.

This commit is contained in:
Tobias Crawley 2012-03-07 13:59:20 -05:00
parent c6939301a2
commit 158355303e

View file

@ -31,7 +31,7 @@
(apply println msg)
(exit 1)))
(defn task-not-found [& _]
(defn ^:no-project-needed task-not-found [& _]
(abort "That's not a task. Use \"lein help\" to list all tasks."))
;; TODO: got to be a cleaner way to do this, right?