Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/audit: fix type error in cask livecheck url audit
This got updated recently in 42a42c9 to split out the livecheck audits and as a result of that the type signature for the #validate_url_for_https_availablity method got updated. This did not account for the possibility that the livecheck url was nil. I've added a nil check here since it makes no sense to try and validate a nil url and we have nil checks for the other two http availability audits already. Plus, the livecheck blocks are audited thoroughly already for syntax.
- Loading branch information