diff options
author | Erick Sasse <esasse@gmail.com> | 2015-07-17 22:57:29 -0300 |
---|---|---|
committer | Erick Sasse <esasse@gmail.com> | 2015-07-19 11:50:50 -0300 |
commit | da2e99ca795d7b20c3072dd2ca418406485220bc (patch) | |
tree | 6285401ebfcb88bc6b645b1c0263adae88973217 | |
parent | ebeed8f34dc0e9cea0581224c53fd5feaf9d8b77 (diff) | |
download | bundler-da2e99ca795d7b20c3072dd2ca418406485220bc.tar.gz |
Fix Style/SingleLineMethods
-rw-r--r-- | .rubocop_todo.yml | 6 | ||||
-rw-r--r-- | lib/bundler/deprecate.rb | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f682174c17..e783f558fe 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -411,12 +411,6 @@ Style/SignalException: Style/SingleLineBlockParams: Enabled: false -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: AllowIfMethodIsEmpty. -Style/SingleLineMethods: - Enabled: false - # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. diff --git a/lib/bundler/deprecate.rb b/lib/bundler/deprecate.rb index e6e15b69e7..dd17b8a557 100644 --- a/lib/bundler/deprecate.rb +++ b/lib/bundler/deprecate.rb @@ -9,7 +9,9 @@ module Bundler end unless Deprecate.respond_to?(:skip_during) - def Deprecate.skip_during; yield; end + def Deprecate.skip_during; + yield; + end end end |