Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 7e0bfe0

Browse files
committed
Merge pull request #2161 from paddor/master
avoid TypeError when exiting
2 parents 0c2d332 + 3e69639 commit 7e0bfe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/core/rake_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def run_task(verbose)
8181

8282
return unless fail_on_error
8383
$stderr.puts "#{command} failed" if verbose
84-
exit $?.exitstatus
84+
exit $?.exitstatus || 1
8585
end
8686

8787
private

0 commit comments

Comments
 (0)