Skip to content
Snippets Groups Projects
Commit 4861ee6c authored by Markus Reiter's avatar Markus Reiter
Browse files

Fix Style/Semicolon.

parent 0406f918
No related branches found
No related tags found
No related merge requests found
......@@ -281,13 +281,6 @@ Style/RegexpLiteral:
- 'Homebrew/keg.rb'
- 'Homebrew/version.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
Exclude:
- 'Homebrew/descriptions.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
......
......@@ -136,6 +136,6 @@ class Descriptions
def short_name_counts
@short_name_counts ||=
short_names.values.each_with_object(Hash.new(0)) { |name, counts| counts[name] += 1; counts }
short_names.values.each_with_object(Hash.new(0)) { |name, counts| counts[name] += 1 }
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment