1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

Check images for consistent use of http/https

This commit is contained in:
Brandon Keepers 2017-01-17 11:59:22 -08:00
parent f982e7c419
commit db878ed8f9
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6

View File

@ -13,7 +13,8 @@ task :test do
HTMLProofer.check_directory('./_site', HTMLProofer.check_directory('./_site',
check_html: true, check_html: true,
validation: { ignore_script_embeds: true }, validation: { ignore_script_embeds: true },
url_swap: { %r{http://choosealicense.com} => '' }).run url_swap: { %r{http://choosealicense.com} => '' },
check_img_http: true).run
end end
task :approved_licenses do task :approved_licenses do