mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove unnecessary code
Somehow this is trying to relax frozen mode constraints for path sources. It doesn't make sense to me and it's not covered by any spec so I'm killing it. https://github.com/rubygems/rubygems/commit/17c978e161
This commit is contained in:
parent
d19c266b49
commit
ca65f7bb8a
1 changed files with 0 additions and 6 deletions
|
@ -379,12 +379,6 @@ module Bundler
|
|||
new_deps = @dependencies - locked_dependencies
|
||||
deleted_deps = locked_dependencies - @dependencies
|
||||
|
||||
# Check if it is possible that the source is only changed thing
|
||||
if (new_deps.empty? && deleted_deps.empty?) && (!new_sources.empty? && !deleted_sources.empty?)
|
||||
new_sources.reject! {|source| source.path? && source.path.exist? }
|
||||
deleted_sources.reject! {|source| source.path? && source.path.exist? }
|
||||
end
|
||||
|
||||
if @locked_sources != gemfile_sources
|
||||
if new_sources.any?
|
||||
added.concat new_sources.map {|source| "* source: #{source}" }
|
||||
|
|
Loading…
Add table
Reference in a new issue