diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 10:33:44 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
| commit | 139f0927f54d9d48bb1911717c3e5bf7bd268171 (patch) | |
| tree | a2e2d5c343768984ad978292855a3f61b4a1c5cd | |
| parent | 65752b61e7ae84ecd4fdd0f5c5e065ab4a25c3e7 (diff) | |
[rubygems/rubygems] util/rubocop -A --only Performance/DoubleStartEndWith
https://github.com/rubygems/rubygems/commit/893da27e7c
| -rw-r--r-- | lib/rubygems/core_ext/kernel_warn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/core_ext/kernel_warn.rb b/lib/rubygems/core_ext/kernel_warn.rb index 1f4c77f04b..2dadf1fcd8 100644 --- a/lib/rubygems/core_ext/kernel_warn.rb +++ b/lib/rubygems/core_ext/kernel_warn.rb @@ -36,7 +36,7 @@ module Kernel start += 1 if path = loc.path - unless path.start_with?(rubygems_path) || path.start_with?("<internal:") + unless path.start_with?(rubygems_path, "<internal:") # Non-rubygems frames uplevel -= 1 end |
