Commit cdf94bda authored by Kyle Fuller's avatar Kyle Fuller

[Rubocop] Enable Style/SelfAssignment

parent b7532c6f
...@@ -57,10 +57,6 @@ Style/PercentLiteralDelimiters: ...@@ -57,10 +57,6 @@ Style/PercentLiteralDelimiters:
Style/RegexpLiteral: Style/RegexpLiteral:
Enabled: false Enabled: false
# Offense count: 1
Style/SelfAssignment:
Enabled: false
# Offense count: 28 # Offense count: 28
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
......
...@@ -74,7 +74,7 @@ module Pod ...@@ -74,7 +74,7 @@ module Pod
def common_specs(specs_by_configuration) def common_specs(specs_by_configuration)
result = specs_by_configuration.values.flatten.uniq result = specs_by_configuration.values.flatten.uniq
specs_by_configuration.values.each do |configuration_specs| specs_by_configuration.values.each do |configuration_specs|
result = result & configuration_specs result &= configuration_specs
end end
result.sort_by(&:name) result.sort_by(&:name)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment