Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Fix compatibility with psych 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron authored Nov 8, 2023
2 parents 4cac624 + 3cb539d commit c5bfafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/libv8/location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def install!

def self.load!
File.open(Pathname(__FILE__).dirname.join('.location.yml')) do |f|
YAML.load f
YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(f) : YAML.load(f) # rubocop:disable Security/YAMLLoad
end
end

Expand Down

0 comments on commit c5bfafa

Please sign in to comment.