Closed dmundra closed 5 months ago
Removing --enforce_https
and --check_external_hash
does work. So not sure why those args are being picked up.
@dmundra, you have been upgrading not only the version of Ruby, but also and most importantly html-proofer from v4 to v5, which has refactored the CLI arguments, see #758.
The error you get clearly points to the fact that "false" is interpreted as an input to be checked, because since v5 boolean CLI arguments are simply stated as e.g. --[no-]check-external-hash
. Run htmlproofer --help
for help on the CLI usage.
Ah got it. Thank you for the clarification.
I updated to Ruby 3.3.0 when I run htmlproofer the parameters
--enforce_https
and--check_external_hash
that use true/false are getting added to the 'check_file' function causing an error. Here is an example output: