mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use CDN instead of raw.githubusercontent.com
This commit is contained in:
parent
8b921813aa
commit
6545d5bbb9
1 changed files with 1 additions and 1 deletions
|
@ -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 + ": []" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue