Commit cdf94bda authored by Kyle Fuller's avatar Kyle Fuller

[Rubocop] Enable Style/SelfAssignment

parent b7532c6f
......@@ -57,10 +57,6 @@ Style/PercentLiteralDelimiters:
Style/RegexpLiteral:
Enabled: false
# Offense count: 1
Style/SelfAssignment:
Enabled: false
# Offense count: 28
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
......
......@@ -74,7 +74,7 @@ module Pod
def common_specs(specs_by_configuration)
result = specs_by_configuration.values.flatten.uniq
specs_by_configuration.values.each do |configuration_specs|
result = result & configuration_specs
result &= configuration_specs
end
result.sort_by(&:name)
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