summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-16 16:58:21 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-16 16:58:21 +0900
commit8b921813aa8d5ea8f4e6c1e700ad48a120c500ab (patch)
tree18ffae7253779c673e4ee139ad62345a568a5137
parent04e95f8985066b4ae1e97b045efda98bdefa07bd (diff)
Fix open without close [ci skip]
-rwxr-xr-xtool/gen-mailmap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/gen-mailmap.rb b/tool/gen-mailmap.rb
index c3fa44107d..3575aafae3 100755
--- a/tool/gen-mailmap.rb
+++ b/tool/gen-mailmap.rb
@@ -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|