Skip to content

Commit

Permalink
Never needed to raise
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Dec 11, 2020
1 parent e09f6be commit b2bcc6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/html-proofer/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ def print_failed_tests
sorted_failures.sort_and_report
count = @failures.length
failure_text = pluralize(count, 'failure', 'failures')
raise @logger.colorize :fatal, "HTML-Proofer found #{failure_text}!"
@logger.log :fatal, "HTML-Proofer found #{failure_text}!"
exit 1
end

# Set before_request callback.
Expand Down

0 comments on commit b2bcc6d

Please sign in to comment.