Skip to content

Commit

Permalink
Use CDN instead of raw.githubusercontent.com
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Dec 16, 2019
1 parent 8b92181 commit 6545d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/gen-mailmap.rb
Expand Up @@ -3,7 +3,7 @@
require "open-uri"
require "yaml"

EMAIL_YML_URL = "https://raw.githubusercontent.com/ruby/ruby-commit-hook/master/config/email.yml"
EMAIL_YML_URL = "https://cdn.jsdelivr.net/gh/ruby/ruby-commit-hook/config/email.yml"

email_yml = URI(EMAIL_YML_URL).read.sub(/\A(?:#.*\n)+/, "").gsub(/^# +(.+)$/) { $1 + ": []" }

Expand Down

0 comments on commit 6545d5b

Please sign in to comment.