Method: HTMLProofer::Runner#report_failed_checks

Defined in:
lib/html_proofer/runner.rb

#report_failed_checksObject



206
207
208
209
210
211
212
# File 'lib/html_proofer/runner.rb', line 206

def report_failed_checks
  @reporter.report

  failure_text = pluralize(@failures.length, "failure", "failures")
  @logger.log(:fatal, "\nHTML-Proofer found #{failure_text}!")
  exit(1)
end