mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #1612 from will-in-wi/rubocop_empty_literal
Enable EmptyLiteral cop
This commit is contained in:
commit
8dd3e46dcb
2 changed files with 2 additions and 4 deletions
|
@ -39,8 +39,6 @@ Style/IfUnlessModifier:
|
|||
Enabled: false
|
||||
Style/Lambda:
|
||||
Enabled: false
|
||||
Style/EmptyLiteral:
|
||||
Enabled: false
|
||||
Style/SingleLineBlockParams:
|
||||
Enabled: false
|
||||
Style/RescueModifier:
|
||||
|
|
|
@ -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…
Reference in a new issue