1
0
mirror of https://github.com/github/choosealicense.com synced 2025-01-09 05:04:35 +01:00

require https for external links

This commit is contained in:
Mike Linksvayer 2019-01-02 12:32:52 -08:00
parent 92ce139709
commit bb0bb92b51

@ -14,6 +14,7 @@ task :test do
Rake::Task['spec'].invoke Rake::Task['spec'].invoke
HTMLProofer.check_directory('./_site', HTMLProofer.check_directory('./_site',
check_html: true, check_html: true,
enforce_https: true,
validation: { ignore_script_embeds: true }, validation: { ignore_script_embeds: true },
url_swap: { %r{https://choosealicense.com} => '' }, url_swap: { %r{https://choosealicense.com} => '' },
check_img_http: true).run check_img_http: true).run