diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-17 12:57:32 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-17 12:57:41 +0900 |
commit | dfecc650c3f9bbd8b4fb0eefc1e3da65f151d3a8 (patch) | |
tree | 5ae3e4a902c7570245abf78ca223786f8ecafcf5 /lib/yaml/store.rb | |
parent | ffdf0232efd4955a234955c8372885b850fcfe33 (diff) |
Workaround with fbb4e3f96c10de2240f2d87eac19cf6f62f65fea in yaml/store.rb
Diffstat (limited to 'lib/yaml/store.rb')
-rw-r--r-- | lib/yaml/store.rb | 2 |
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 |