]> git.openstreetmap.org Git - chef.git/blobdiff - hooks/pre-commit
Update civicrm and extensions to latest versions
[chef.git] / hooks / pre-commit
index 4e45ba7b50d47fe1d74a957851c40ef05696f692..4ad3c1576fb8298b923fe4db9d9d5858640b0da6 100755 (executable)
@@ -19,7 +19,7 @@ if IO.popen(["git", "ls-files", "--unmerged"]).read.empty?
 
   cookbooks = files.grep(%r{(cookbooks/[^/]+)/}) { Regexp.last_match(1) }.uniq
 
-  ok &&= system("bundle", "exec", "foodcritic", "-f", "any", *cookbooks) unless cookbooks.empty?
+  ok &&= system("bundle", "exec", "foodcritic", *cookbooks) unless cookbooks.empty?
 
   system("git", "stash", "pop", "--quiet") if need_stash
 else