1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix open without close [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2019-12-16 16:58:21 +09:00
parent 04e95f8985
commit 8b921813aa
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -5,7 +5,7 @@ require "yaml"
EMAIL_YML_URL = "https://raw.githubusercontent.com/ruby/ruby-commit-hook/master/config/email.yml"
email_yml = URI.open(EMAIL_YML_URL).read.sub(/\A(?:#.*\n)+/, "").gsub(/^# +(.+)$/) { $1 + ": []" }
email_yml = URI(EMAIL_YML_URL).read.sub(/\A(?:#.*\n)+/, "").gsub(/^# +(.+)$/) { $1 + ": []" }
email = YAML.load(email_yml)
YAML.load(DATA.read).each do |name, mails|