From d04d6bbc6cf14a4e3ca292095a00c1956e63d9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 6 Oct 2021 11:51:33 +0200 Subject: [ruby/psych] Prefer `require_relative` for internal requires https://github.com/ruby/psych/commit/a0f55ee85a --- ext/psych/lib/psych/nodes/node.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/psych/lib/psych/nodes') diff --git a/ext/psych/lib/psych/nodes/node.rb b/ext/psych/lib/psych/nodes/node.rb index 05cb08dac0..1f841625ca 100644 --- a/ext/psych/lib/psych/nodes/node.rb +++ b/ext/psych/lib/psych/nodes/node.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'stringio' -require 'psych/class_loader' -require 'psych/scalar_scanner' +require_relative '../class_loader' +require_relative '../scalar_scanner' module Psych module Nodes -- cgit v1.2.3