lib/nanoc/checking/checks/external_links.rb in nanoc-4.11.5 vs lib/nanoc/checking/checks/external_links.rb in nanoc-4.11.6

- old
+ new

@@ -10,10 +10,10 @@ def run # Find all broken external hrefs # TODO: de-duplicate this (duplicated in internal links check) filenames = output_html_filenames.reject { |f| excluded_file?(f) } hrefs_with_filenames = ::Nanoc::Extra::LinkCollector.new(filenames, :external).filenames_per_href - results = select_invalid(hrefs_with_filenames.keys) + results = select_invalid(hrefs_with_filenames.keys.shuffle) # Report them results.each do |res| filenames = hrefs_with_filenames[res.href] filenames.each do |filename|