diff options
author | Colby Swandale <colby@taplaboratories.com> | 2017-01-27 13:46:37 +1100 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com> | 2017-01-27 13:46:37 +1100 |
commit | 341d2649f0a8061dbee0268ab6ed1e78931deac7 (patch) | |
tree | 7e09b4cb7a6fc07b34d027ba9312ff328b8222e0 | |
parent | 2acb95395838a06bdd9dbf266ca8166b11ee0917 (diff) | |
download | bundler-341d2649f0a8061dbee0268ab6ed1e78931deac7.tar.gz |
rubocop fixes
-rw-r--r-- | lib/bundler/cli/info.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli/info.rb b/lib/bundler/cli/info.rb index 29eb78f705..20a682fe48 100644 --- a/lib/bundler/cli/info.rb +++ b/lib/bundler/cli/info.rb @@ -14,6 +14,7 @@ module Bundler gem = Gem::Specification.find_by_name(gem_name) spec = gem if gem.default_gem? rescue Gem::MissingSpecError + nil end spec ||= Bundler::CLI::Common.select_spec(gem_name, :regex_match) |