diff --git a/project.clj b/project.clj index 0e8cc433e6..4067a738b2 100644 --- a/project.clj +++ b/project.clj @@ -16,7 +16,7 @@ [lein-cljfmt "0.5.7"] [rasom/lein-githooks "0.1.3"]] :githooks {:auto-install true - :pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --cached --name-only src test/cljs)"]} + :pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --diff-filter=d --cached --name-only src test/cljs)"]} :cljfmt {:indents {letsubs [[:inner 0]]}} :clean-targets ["target/" "index.ios.js" "index.android.js"] :aliases {"prod-build" ^{:doc "Recompile code with prod profile."}