summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 13:00:46 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:59 +0900
commitb855e33b655d9c0cfa07aab8e8622d68f0402ea0 (patch)
treec4bd09e6f2bf3515d07081e316bb855e92e91766
parent1fbd6a1fe0e298aef006cf1aa41e6e6f1ce7c7c5 (diff)
[bundler/bundler] 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> https://github.com/bundler/bundler/commit/584e841624
-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"