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
|
Enabled: false
|
||||||
Style/Lambda:
|
Style/Lambda:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/EmptyLiteral:
|
|
||||||
Enabled: false
|
|
||||||
Style/SingleLineBlockParams:
|
Style/SingleLineBlockParams:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/Not:
|
Style/Not:
|
||||||
|
|
|
@ -158,11 +158,11 @@ module Capistrano
|
||||||
end
|
end
|
||||||
|
|
||||||
def config
|
def config
|
||||||
@config ||= Hash.new
|
@config ||= {}
|
||||||
end
|
end
|
||||||
|
|
||||||
def validators
|
def validators
|
||||||
@validators ||= Hash.new
|
@validators ||= {}
|
||||||
end
|
end
|
||||||
|
|
||||||
def fetch_for(key, default, &block)
|
def fetch_for(key, default, &block)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue