1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Enable EmptyLiteral cop

This commit is contained in:
William Johnston 2016-03-01 09:25:14 -06:00 committed by William Johnston
parent fb82ecea53
commit 37d1b44b2e
2 changed files with 2 additions and 4 deletions

View file

@ -45,8 +45,6 @@ Style/IfUnlessModifier:
Enabled: false
Style/Lambda:
Enabled: false
Style/EmptyLiteral:
Enabled: false
Style/SingleLineBlockParams:
Enabled: false
Style/Not:

View file

@ -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)