diff options
author | Erick Sasse <esasse@gmail.com> | 2015-07-17 18:57:32 -0300 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-07-18 16:44:56 -0600 |
commit | 6537566d7179d3aee3451ece710cbe79ced95d4c (patch) | |
tree | 7f5d1d4b963897140066db3c7de456eeaf9e1b8f | |
parent | 6516d5b9f3e0bccad7e201d72d6c13de1de30349 (diff) | |
download | bundler-6537566d7179d3aee3451ece710cbe79ced95d4c.tar.gz |
Fix Lint/UnreachableCode
-rw-r--r-- | .rubocop_todo.yml | 4 | ||||
-rw-r--r-- | lib/bundler/ruby_version.rb | 1 | ||||
-rw-r--r-- | spec/support/platforms.rb | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f6407186..2512c96e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -30,10 +30,6 @@ Lint/RescueException: Lint/StringConversionInInterpolation: Enabled: false -# Offense count: 2 -Lint/UnreachableCode: - Enabled: false - # Offense count: 15 # Cop supports --auto-correct. Lint/UnusedBlockArgument: diff --git a/lib/bundler/ruby_version.rb b/lib/bundler/ruby_version.rb index f10a9d27..64b2742d 100644 --- a/lib/bundler/ruby_version.rb +++ b/lib/bundler/ruby_version.rb @@ -106,7 +106,6 @@ module Bundler JRUBY_VERSION.dup else raise BundlerError, "RUBY_ENGINE value #{RUBY_ENGINE} is not recognized" - nil end end diff --git a/spec/support/platforms.rb b/spec/support/platforms.rb index 4e73ff82..05122786 100644 --- a/spec/support/platforms.rb +++ b/spec/support/platforms.rb @@ -70,7 +70,6 @@ module Spec JRUBY_VERSION else raise BundlerError, "That RUBY_ENGINE is not recognized" - nil end end |