There are more arrays that contain non-alphabetizeable commands
This commit is contained in:
parent
6a1cb62b42
commit
338e30ff9b
@ -15,7 +15,7 @@ module RuboCop
|
||||
# For `zap`s, we only care about `trash` arrays.
|
||||
next if name == :zap && !symbols.include?(:trash)
|
||||
# Don't order `uninstall` arrays that contain commands.
|
||||
next if name == :uninstall && (symbols & [:signal, :script, :early_script]).any?
|
||||
next if name == :uninstall && (symbols & [:signal, :script, :early_script, :args, :input]).any?
|
||||
|
||||
pair.each_descendant(:array).each do |array|
|
||||
if array.children.length == 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user