summaryrefslogtreecommitdiff
path: root/tool/format-release
diff options
context:
space:
mode:
Diffstat (limited to 'tool/format-release')
-rwxr-xr-xtool/format-release2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/format-release b/tool/format-release
index b38263f9f4..0505df700b 100755
--- a/tool/format-release
+++ b/tool/format-release
@@ -77,7 +77,7 @@ eom
end
uri = "https://cache.ruby-lang.org/pub/tmp/ruby-info-#{version}-draft.yml"
- info = YAML.load(URI(uri).read)
+ info = YAML.unsafe_load(URI(uri).read)
if info.size != 1
raise "unexpected info.yml '#{uri}'"
end