1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +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

View File

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