Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Actually handle there being no project

  • Loading branch information...
commit 203e404bf44f45750190696dd883cad6ed6f8c07 1 parent 5b6a5f6
@Raynes Raynes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/leiningen/nevam.clj
View
2  src/leiningen/nevam.clj
@@ -5,7 +5,7 @@
(defn ^:no-project-needed nevam
"Reverse engineer your maven pom.xml files."
[project & args]
- (if project
+ (if-not (seq project)
(println "project.clj file already exists") ;; TODO accept :force
(let [dir (System/getProperty "user.dir")
f (io/file (str dir "/pom.xml"))]
Please sign in to comment.
Something went wrong with that request. Please try again.