Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalyo committed Dec 21, 2017
1 parent 4f64283 commit d67baf3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/html-proofer/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def process_files
end

def check_path(path)
result = { external_urls: {}, failures: [] }
result = {external_urls: {}, failures: []}
html = create_nokogiri(path)

@src = [@src] if @type == :file
Expand Down Expand Up @@ -121,10 +121,10 @@ def validate_urls
@failures.concat(url_validator.run)
@external_urls = url_validator.external_urls

url_validator.check_sri_issues_exclude.each { |url, arr_issue_to_exclude|
arr_issue_to_exclude.each{ |issue_to_exclude|
@failures.each {|issue|
if issue_to_exclude.equal? issue
url_validator.check_sri_issues_exclude.each_value { |arr_issue_to_exclude|
arr_issue_to_exclude.each { |issue_to_exclude|
@failures.each_value { |issue|
if issue_to_exclude.equal? issue
@failures.delete issue
break
end
Expand Down

0 comments on commit d67baf3

Please sign in to comment.