[rubygems/rubygems] util/rubocop -A --only Performance/DoubleStartEndWith

https://github.com/rubygems/rubygems/commit/893da27e7c
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 10:33:44 +09:00
parent 65752b61e7
commit 139f0927f5

View File

@ -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