aboutsummaryrefslogtreecommitdiffstats
path: root/lib/shell
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-02 17:52:33 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-02 17:52:33 +0000
commite859e668d2eb59f34ad18edb7458ce90076617e9 (patch)
tree0c2866cf07670dbcea797ee96a620e5d761af417 /lib/shell
parentc8c66bcf92b94951fd2035761f91e6cde3145d7f (diff)
downloadruby-e859e668d2eb59f34ad18edb7458ce90076617e9.tar.gz
lib/*: Prefer require_relative over require.
[#15206] [Fix GH-1976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell')
-rw-r--r--lib/shell/builtin-command.rb2
-rw-r--r--lib/shell/command-processor.rb4
-rw-r--r--lib/shell/system-command.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/shell/builtin-command.rb b/lib/shell/builtin-command.rb
index e419a68c33..a6a9d232ad 100644
--- a/lib/shell/builtin-command.rb
+++ b/lib/shell/builtin-command.rb
@@ -10,7 +10,7 @@
#
#
-require "shell/filter"
+require_relative "filter"
class Shell
class BuiltInCommand < Filter
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index b52cb0043f..a6b55f5a89 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -12,8 +12,8 @@
require "e2mmap"
-require "shell/error"
-require "shell/filter"
+require_relative "error"
+require_relative "filter"
require "shell/system-command"
require "shell/builtin-command"
diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb
index af22ed90d7..767a9ee12c 100644
--- a/lib/shell/system-command.rb
+++ b/lib/shell/system-command.rb
@@ -10,7 +10,7 @@
#
#
-require "shell/filter"
+require_relative "filter"
class Shell
class SystemCommand < Filter