lib/anyway/loaders/yaml.rb in anyway_config-2.0.4 vs lib/anyway/loaders/yaml.rb in anyway_config-2.0.5

- old
+ new

@@ -24,10 +24,10 @@ def parse_yml(path) return {} unless File.file?(path) require "yaml" unless defined?(::YAML) if defined?(ERB) - ::YAML.safe_load(ERB.new(File.read(path)).result, [], [], true) + ::YAML.load(ERB.new(File.read(path)).result) # rubocop:disable Security/YAMLLoad else ::YAML.load_file(path) end end