lib/reek/smells/too_many_statements.rb in reek-4.1.0 vs lib/reek/smells/too_many_statements.rb in reek-4.1.1
- old
+ new
@@ -17,11 +17,10 @@
DEFAULT_MAX_STATEMENTS = 5
def self.default_config
super.merge(
MAX_ALLOWED_STATEMENTS_KEY => DEFAULT_MAX_STATEMENTS,
- EXCLUDE_KEY => ['initialize']
- )
+ EXCLUDE_KEY => ['initialize'])
end
#
# Checks the length of the given +method+.
#