1
0
Fork 0
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:
David Rodríguez 2019-07-24 13:00:46 +02:00 committed by Hiroshi SHIBATA
parent 1fbd6a1fe0
commit b855e33b65
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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"