Skip to content

Commit

Permalink
Merge pull request #902 from JonRowe/abort_instead_of_raise_rake_task
Browse files Browse the repository at this point in the history
Abort instead of raise on Rake task failure
  • Loading branch information
JonRowe committed May 11, 2013
2 parents 71edc70 + 194a525 commit e1ce776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/core/rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def run_task(verbose)
rescue
puts failure_message if failure_message
end
raise("#{command} failed") if fail_on_error unless success
abort("#{command} failed") if fail_on_error unless success
end

private
Expand Down

0 comments on commit e1ce776

Please sign in to comment.