mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
[rubygems/rubygems] util/rubocop -A --only Style/RedundantBegin
b595d3cf0f
This commit is contained in:
parent
a532e9dc37
commit
72d09a568f
16 changed files with 148 additions and 188 deletions
|
@ -1090,13 +1090,11 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
|
|||
require "bundler"
|
||||
begin
|
||||
Gem::DefaultUserInteraction.use_ui(ui) do
|
||||
begin
|
||||
Bundler.ui.silence do
|
||||
@gemdeps = Bundler.setup
|
||||
end
|
||||
ensure
|
||||
Gem::DefaultUserInteraction.ui.close
|
||||
Bundler.ui.silence do
|
||||
@gemdeps = Bundler.setup
|
||||
end
|
||||
ensure
|
||||
Gem::DefaultUserInteraction.ui.close
|
||||
end
|
||||
rescue Bundler::BundlerError => e
|
||||
warn e.message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue