diff options
author | David Rodríguez <deivid.rodriguez@riseup.net> | 2019-07-24 13:00:46 +0200 |
---|---|---|
committer | David Rodríguez <deivid.rodriguez@riseup.net> | 2019-07-24 16:09:42 +0200 |
commit | 584e841624720024075b2f418ae030135428a172 (patch) | |
tree | 0ab10606cc3de2a2b15273227ab7679fec407b49 /lib | |
parent | 7b68d86bddaf40530bbb0957e8631716c4b46566 (diff) | |
download | bundler-584e841624720024075b2f418ae030135428a172.tar.gz |
Add exclamation mark to method
To indicate that it can raise.
Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/cli/outdated.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb index e35031a4ff..5c8cd26d88 100644 --- a/lib/bundler/cli/outdated.rb +++ b/lib/bundler/cli/outdated.rb @@ -27,7 +27,7 @@ module Bundler end def run - check_for_deployment_mode + check_for_deployment_mode! gems.each do |gem_name| Bundler::CLI::Common.select_spec(gem_name) @@ -224,7 +224,7 @@ module Bundler Bundler.ui.info output_message.rstrip end - def check_for_deployment_mode + def check_for_deployment_mode! return unless Bundler.frozen_bundle? suggested_command = if Bundler.settings.locations("frozen")[:global] "bundle config unset frozen" |