Skip to content

Commit

Permalink
Fix recheck of failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoporreca committed Feb 7, 2020
1 parent 821ff0f commit d0016ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/html-proofer/cache.rb
Expand Up @@ -120,9 +120,8 @@ def retrieve_urls(external_urls)
@cache_log.each_pair do |url, cache|
if within_timeframe?(cache['time'])
next if cache['message'].empty? # these were successes to skip
else
urls_to_check[url] = cache['filenames'] # recheck expired links
end
urls_to_check[url] = cache['filenames'] # recheck expired links
end
urls_to_check
end
Expand Down

0 comments on commit d0016ca

Please sign in to comment.