diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-22 13:56:16 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | 54ae3f587ed42f425edc7ec741702ac764429c5d (patch) | |
tree | 531c32040889fc2c48f205bda39ad6c5402dd6cc /lib/rubygems/commands/check_command.rb | |
parent | f6803d2411de002c00f1bacc756e412407bc61ed (diff) | |
download | ruby-54ae3f587ed42f425edc7ec741702ac764429c5d.tar.gz |
[rubygems/rubygems] Prefer `require_relative` to `require` for internal requires
https://github.com/rubygems/rubygems/commit/c74fc58695
Diffstat (limited to 'lib/rubygems/commands/check_command.rb')
-rw-r--r-- | lib/rubygems/commands/check_command.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rubygems/commands/check_command.rb b/lib/rubygems/commands/check_command.rb index 8b8eda53cf..3b6b97ae3b 100644 --- a/lib/rubygems/commands/check_command.rb +++ b/lib/rubygems/commands/check_command.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true -require 'rubygems/command' -require 'rubygems/version_option' -require 'rubygems/validator' -require 'rubygems/doctor' +require_relative '../command' +require_relative '../version_option' +require_relative '../validator' +require_relative '../doctor' class Gem::Commands::CheckCommand < Gem::Command include Gem::VersionOption |