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> https://github.com/bundler/bundler/commit/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
|
||||
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue