1
0
Fork 0
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:
Matt Brictson 2016-03-10 05:41:23 -08:00
commit 8dd3e46dcb
2 changed files with 2 additions and 4 deletions

View file

@ -39,8 +39,6 @@ Style/IfUnlessModifier:
Enabled: false
Style/Lambda:
Enabled: false
Style/EmptyLiteral:
Enabled: false
Style/SingleLineBlockParams:
Enabled: false
Style/RescueModifier:

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)