Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Attempt to load leiningen.core.main when aborting. Fixes #32.

  • Loading branch information...
commit 0e01e7f2b684aacb18398aef1791e0b743a16300 1 parent c0929c2
Phil Hagelberg technomancy authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/leiningen/new.clj
2  src/leiningen/new.clj
View
@@ -18,6 +18,8 @@
(catch Exception _))))
(defn abort [& args]
+ (try (require 'leiningen.core.main)
+ (catch FileNotFoundException _))
(let [abort (or (resolve 'leiningen.core.main/abort)
(resolve 'leiningen.core/abort))]
(apply abort args)))
Please sign in to comment.
Something went wrong with that request. Please try again.