summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-17 12:57:32 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-17 12:57:41 +0900
commitdfecc650c3f9bbd8b4fb0eefc1e3da65f151d3a8 (patch)
tree5ae3e4a902c7570245abf78ca223786f8ecafcf5 /lib
parentffdf0232efd4955a234955c8372885b850fcfe33 (diff)
Workaround with fbb4e3f96c10de2240f2d87eac19cf6f62f65fea in yaml/store.rb
Diffstat (limited to 'lib')
-rw-r--r--lib/yaml/store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb
index 3c9b8817e4..f8650b942f 100644
--- a/lib/yaml/store.rb
+++ b/lib/yaml/store.rb
@@ -65,7 +65,7 @@ class YAML::Store < PStore
end
def load(content)
- table = YAML.load(content)
+ table = YAML.unsafe_load(content)
if table == false
{}
else