diff --git a/Rakefile b/Rakefile index 72ce9dd5..f22649d3 100644 --- a/Rakefile +++ b/Rakefile @@ -113,7 +113,7 @@ task(:rubocop) do if RUBY_VERSION !~ /1.8/ require 'rubocop' cli = RuboCop::CLI.new - cli.run(%w(-D -f s)) + exit cli.run(%w(-D -f s)) else puts "Rubocop is disabled in ruby 1.8" end