Skip to content

Commit

Permalink
Merge pull request #319 from parkr/patch-1
Browse files Browse the repository at this point in the history
htmlproofer should set status codes to ints
  • Loading branch information
gjtorikian committed Apr 1, 2016
2 parents 4434b7e + aea72c1 commit 20836a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/htmlproofer
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ Mercenary.program(:htmlproofer) do |p|

options[:cache] = {}
options[:cache][:timeframe] = opts['timeframe'] unless opts['timeframe'].nil?

options[:http_status_ignore] = Array(options[:http_status_ignore]).map(&:to_i)

paths = path.split(',')
if opts['as_links']
Expand Down

0 comments on commit 20836a9

Please sign in to comment.