Skip to content

Commit 59ddbdd

Browse files
committed
Include project.clj by default for lein plugin
Since the file project.clj is specific to Leiningen projects it seem like a good default. Resolves: weavejester#279
1 parent 1003c67 commit 59ddbdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lein-cljfmt/src/leiningen/cljfmt.clj

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
(if (empty? paths)
1111
(leiningen.core.main/abort "No source or test paths defined in project map")
1212
(->> (map io/file paths)
13-
(filter #(and (.exists %) (.isDirectory %)))))))
13+
(filter #(and (.exists %) (.isDirectory %)))
14+
(concat '("project.clj"))))))
1415

1516
(defn- execute-command [command options paths]
1617
(case command

0 commit comments

Comments
 (0)