1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Revert "require https for external links"

This reverts commit bb0bb92b51e3aad94a2f405d5492ce3e46f8fc70.

Remove actual test for now, as it causes failures in CI, where github.com links get generated as http

Eventually this should be fixed with https://github.com/github/pages-gem/pull/611 or similar
This commit is contained in:
Mike Linksvayer 2019-01-02 22:25:47 -08:00
parent 8ff6ce0e1f
commit af5f80ddfd

View File

@ -14,7 +14,6 @@ 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} => '' },
hydra: { max_concurrency: 10 }, hydra: { max_concurrency: 10 },