mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00
[rubygems/rubygems] Consistently access CLI flags with symbols
1497d3f146
This commit is contained in:
parent
70da38510f
commit
29ceefe595
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ module Bundler
|
||||||
self.options ||= {}
|
self.options ||= {}
|
||||||
unprinted_warnings = Bundler.ui.unprinted_warnings
|
unprinted_warnings = Bundler.ui.unprinted_warnings
|
||||||
Bundler.ui = UI::Shell.new(options)
|
Bundler.ui = UI::Shell.new(options)
|
||||||
Bundler.ui.level = "debug" if options["verbose"]
|
Bundler.ui.level = "debug" if options[:verbose]
|
||||||
unprinted_warnings.each {|w| Bundler.ui.warn(w) }
|
unprinted_warnings.each {|w| Bundler.ui.warn(w) }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue