mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[rubygems/rubygems] util/rubocop -A --only Style/NestedParenthesizedCalls
a875fdb535
This commit is contained in:
parent
3d4c3f9e4f
commit
567db6064b
8 changed files with 18 additions and 18 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue