We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was trying to avoid the check for the internal hashes, but it doesn't look like it is picking up the option using the command line
(Needs to be a project with missing internal hashes)
bin/htmlproofer ~/dev/public --allow-missing-href --check-external-hash --enforce-https false --check-internal-hash false bin/htmlproofer ~/dev/public --allow-missing-href --check-external-hash --enforce-https false --check-internal-hash
bin/htmlproofer ~/dev/public --allow-missing-href --check-external-hash --enforce-https false --check-internal-hash false
bin/htmlproofer ~/dev/public --allow-missing-href --check-external-hash --enforce-https false --check-internal-hash
Expected to find the output:
HTML-Proofer finished successfully.
The output received is many of these validation errors:
internally linking to <page>; the file exists, but the hash 'page-cr' does not
I think if just this option accepts one value, it could be possible to be changed:
p.option 'check_internal_hash', '--check-internal-hash <false>', 'Checks whether internal hashes exist (even if the webpage exists) (default: `true`).' options[:check_internal_hash] = false if opts['check_internal_hash'] == "false"
Or probably it should be passed other way?
Ubuntu 22.04 LTS ruby 3.0.2p107
htmlproofer 4.2.0
The text was updated successfully, but these errors were encountered:
This is a dupe of #735 and the fix will be released in an hour or so.
You'll be able to do --check-internal-hash=false when 4.3.0 is released soon.
--check-internal-hash=false
Sorry, something went wrong.
check_interal_hash
No branches or pull requests
Summary
I was trying to avoid the check for the internal hashes, but it doesn't look like it is picking up the option using the command line
Steps to Reproduce
(Needs to be a project with missing internal hashes)
bin/htmlproofer ~/dev/public --allow-missing-href --check-external-hash --enforce-https false --check-internal-hash false
bin/htmlproofer ~/dev/public --allow-missing-href --check-external-hash --enforce-https false --check-internal-hash
A clear and concise description of what you expected to happen
Expected to find the output:
HTML-Proofer finished successfully.
What actually happened
The output received is many of these validation errors:
internally linking to <page>; the file exists, but the hash 'page-cr' does not
Other information
I think if just this option accepts one value, it could be possible to be changed:
Or probably it should be passed other way?
OS Version
Ubuntu 22.04 LTS
ruby 3.0.2p107
HTML-Proofer Version
htmlproofer 4.2.0
The text was updated successfully, but these errors were encountered: