[rubygems/rubygems] util/rubocop -A --only Performance/DoubleStartEndWith
https://github.com/rubygems/rubygems/commit/893da27e7c
This commit is contained in:
parent
65752b61e7
commit
139f0927f5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user