Skip to content

Commit b75c094

Browse files
author
Mike Kenyon
committed
Make rake fail when auto-corrected
1 parent 0469288 commit b75c094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ task default: default_tasks
3030
task :rubocop_autocorrect do
3131
require 'rubocop'
3232
cli = RuboCop::CLI.new
33-
exit_code = cli.run(%w(--auto-correct))
33+
exit_code = cli.run(%w(--auto-correct --fail-level autocorrect))
3434
exit(exit_code) if exit_code != 0
3535
end
3636

0 commit comments

Comments
 (0)