[rubygems/rubygems] util/rubocop -A --only Style/NestedParenthesizedCalls

a875fdb535
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 13:08:18 +09:00
parent 3d4c3f9e4f
commit 567db6064b
8 changed files with 18 additions and 18 deletions

View file

@ -532,8 +532,8 @@ Gem dependencies file #{@path} includes git reference for both ref/branch and ta
# platform matches the current platform.
def gem_platforms(name, options) # :nodoc:
platform_names = Array(options.delete :platform)
platform_names.concat Array(options.delete :platforms)
platform_names = Array(options.delete(:platform))
platform_names.concat Array(options.delete(:platforms))
platform_names.concat @current_platforms if @current_platforms
return true if platform_names.empty?