Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Nov 1, 2022
1 parent 0e01d96 commit e52aa43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/html_proofer/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ module ConfigurationHelp
check_internal_hash: ["Checks whether internal hashes exist (even if the webpage exists) (default: `true`)."],
check_sri: ["Check that `<link>` and `<script>` external resources use SRI (default: `false`)."],
disable_external: ["If `true`, does not run the external link checker (default: `false`)."],
enforce_https: ["Fails a link if it\'s not marked as `https` (default: `true`)."],
enforce_https: ["Fails a link if it's not marked as `https` (default: `true`)."],
root_dir: ["The absolute path to the directory serving your html-files."],

ignore_empty_alt: ["If `true`, ignores images with empty/missing ",
Expand Down
2 changes: 1 addition & 1 deletion spec/html-proofer/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@

it "works with ignore-urls" do
ignorable_links = File.join(FIXTURES_DIR, "links", "ignorable_links_via_options.html")
output = make_bin("--ignore-urls /^http:\/\//,/sdadsad/,../whaadadt.html #{ignorable_links}")
output = make_bin("--ignore-urls /^http:///,/sdadsad/,../whaadadt.html #{ignorable_links}")
expect(output).to(match("successfully"))
end

Expand Down

0 comments on commit e52aa43

Please sign in to comment.