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 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:

View file

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