mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
[rubygems/rubygems] Remove unnecessary verification
`DSL#to_definition` already verifies this.
c596f0af83
This commit is contained in:
parent
d6baa6258c
commit
07fa9e3a8f
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ def gemfile(install = false, options = {}, &gemfile)
|
||||||
Bundler::Plugin.gemfile_install(&gemfile) if Bundler.feature_flag.plugins?
|
Bundler::Plugin.gemfile_install(&gemfile) if Bundler.feature_flag.plugins?
|
||||||
builder = Bundler::Dsl.new
|
builder = Bundler::Dsl.new
|
||||||
builder.instance_eval(&gemfile)
|
builder.instance_eval(&gemfile)
|
||||||
builder.check_primary_source_safety
|
|
||||||
|
|
||||||
Bundler.settings.temporary(deployment: false, frozen: false) do
|
Bundler.settings.temporary(deployment: false, frozen: false) do
|
||||||
definition = builder.to_definition(nil, true)
|
definition = builder.to_definition(nil, true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue