Skip to content

Commit

Permalink
Update lib/pdk/config/yaml.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Olle Jonsson <[email protected]>
  • Loading branch information
da-ar and olleolleolle authored Oct 18, 2021
1 parent 63ddf8b commit 3f431cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdk/config/yaml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def parse_file(filename)

require 'yaml'

if Gem::Version.new(Psych::VERSION) >= Gem::Version.new('3.1.0.pre1')
if Gem::Version.new(Psych::VERSION) >= Gem::Version.new("3.1.0.pre1")
data = ::YAML.safe_load(data, permitted_classes: [Symbol], permitted_symbols: [], aliases: true)
else
data = ::YAML.safe_load(data, [Symbol], [], true)
Expand Down

0 comments on commit 3f431cb

Please sign in to comment.