diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 18:50:31 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 18:52:22 +0100 |
commit | 83d22e7deaf5c3347db4961a397a6a929ed66b73 (patch) | |
tree | 350a43a16dcda7e51e90e5b8d2613eeb90056eb9 | |
parent | f5358681deda96e3862c6acae942fbf993f7b3ef (diff) | |
download | bundler-new_info_specs.tar.gz |
Don't raise if users choose to exitnew_info_specs
Just exit.
-rw-r--r-- | lib/bundler/cli/info.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/bundler/cli/info.rb b/lib/bundler/cli/info.rb index 4bc66932d6..4733675e8c 100644 --- a/lib/bundler/cli/info.rb +++ b/lib/bundler/cli/info.rb @@ -16,9 +16,10 @@ module Bundler spec = spec_for_gem(gem_name) - spec_not_found(gem_name) unless spec - return print_gem_path(spec) if @options[:path] - print_gem_info(spec) + if spec + return print_gem_path(spec) if @options[:path] + print_gem_info(spec) + end end private |