diff --git a/lein-cljfmt/src/leiningen/cljfmt.clj b/lein-cljfmt/src/leiningen/cljfmt.clj index 9df9edcf..8682e5eb 100644 --- a/lein-cljfmt/src/leiningen/cljfmt.clj +++ b/lein-cljfmt/src/leiningen/cljfmt.clj @@ -10,7 +10,8 @@ (if (empty? paths) (leiningen.core.main/abort "No source or test paths defined in project map") (->> (map io/file paths) - (filter #(and (.exists %) (.isDirectory %))))))) + (filter #(and (.exists %) (.isDirectory %))) + (cons "project.clj"))))) (defn- execute-command [command options paths] (case command