Skip to content

Commit f6d4896

Browse files
authoredFeb 23, 2024
Remove useless loaded file check (#885)
1 parent 820b9e8 commit f6d4896

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎lib/irb/ext/use-loader.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ def use_loader=(opt)
4949
if IRB.conf[:USE_LOADER] != opt
5050
IRB.conf[:USE_LOADER] = opt
5151
if opt
52-
if !$".include?("irb/command/load")
53-
end
5452
(class<<@workspace.main;self;end).instance_eval {
5553
alias_method :load, :irb_load
5654
alias_method :require, :irb_require

0 commit comments

Comments
 (0)