summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 13:00:46 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 16:09:42 +0200
commit584e841624720024075b2f418ae030135428a172 (patch)
tree0ab10606cc3de2a2b15273227ab7679fec407b49
parent7b68d86bddaf40530bbb0957e8631716c4b46566 (diff)
downloadbundler-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>
-rw-r--r--lib/bundler/cli/outdated.rb4
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"