diff options
author | David RodrÃguez <[email protected]> | 2025-01-24 16:58:23 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-01-28 15:31:57 +0900 |
commit | 83b4de8520e6ef10dfb0207c923f8ad343282d6d (patch) | |
tree | 3baaf1022e72bca564a293d4fc18acfce67213a1 /lib | |
parent | 0e985e13fef8ba6c819433fd5418279e93a34a67 (diff) |
[rubygems/rubygems] Remove unnecessary check
At this point, `dep.autorequire` is always nil.
https://github.com/rubygems/rubygems/commit/0fb2b0a70a
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/runtime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index 6fae25d858..dc25b116df 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -64,7 +64,7 @@ module Bundler rescue LoadError => e raise if dep.autorequire || e.path != required_file - if dep.autorequire.nil? && required_file.include?("-") + if required_file.include?("-") required_file = required_file.tr("-", "/") retry end |