summaryrefslogtreecommitdiff
path: root/spec/ruby/core
diff options
context:
space:
mode:
authorMichael Siegfried <michaeldsiegfried@gmail.com>2022-11-16 16:18:34 -0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-20 13:15:02 +0900
commite58d18bf23a4dff7f17c76e6a3c762896cc2d807 (patch)
treec9f241d4d6d0629555c0c36e84ef6085b8c07a30 /spec/ruby/core
parentc67f6c4dafbc868c36b3e021331fe0b1fac680f5 (diff)
[rubygems/rubygems] Return early outside of loop
The conditions are not dependent on each spec and can be checked once at the beginning of the method. https://github.com/rubygems/rubygems/commit/086bc9433f
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6966
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions