mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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>
584e841624
This commit is contained in:
parent
1fbd6a1fe0
commit
b855e33b65
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ module Bundler
|
||||||
end
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
check_for_deployment_mode
|
check_for_deployment_mode!
|
||||||
|
|
||||||
gems.each do |gem_name|
|
gems.each do |gem_name|
|
||||||
Bundler::CLI::Common.select_spec(gem_name)
|
Bundler::CLI::Common.select_spec(gem_name)
|
||||||
|
@ -224,7 +224,7 @@ module Bundler
|
||||||
Bundler.ui.info output_message.rstrip
|
Bundler.ui.info output_message.rstrip
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_for_deployment_mode
|
def check_for_deployment_mode!
|
||||||
return unless Bundler.frozen_bundle?
|
return unless Bundler.frozen_bundle?
|
||||||
suggested_command = if Bundler.settings.locations("frozen")[:global]
|
suggested_command = if Bundler.settings.locations("frozen")[:global]
|
||||||
"bundle config unset frozen"
|
"bundle config unset frozen"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue