mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Enable EmptyLiteral cop
This commit is contained in:
parent
fb82ecea53
commit
37d1b44b2e
2 changed files with 2 additions and 4 deletions
|
@ -45,8 +45,6 @@ Style/IfUnlessModifier:
|
|||
Enabled: false
|
||||
Style/Lambda:
|
||||
Enabled: false
|
||||
Style/EmptyLiteral:
|
||||
Enabled: false
|
||||
Style/SingleLineBlockParams:
|
||||
Enabled: false
|
||||
Style/Not:
|
||||
|
|
|
@ -158,11 +158,11 @@ module Capistrano
|
|||
end
|
||||
|
||||
def config
|
||||
@config ||= Hash.new
|
||||
@config ||= {}
|
||||
end
|
||||
|
||||
def validators
|
||||
@validators ||= Hash.new
|
||||
@validators ||= {}
|
||||
end
|
||||
|
||||
def fetch_for(key, default, &block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue