Merge pull request #10896 from chrisroberts/f-plugin-constraints

Properly generate dependency instance when multiple constraints provided
This commit is contained in:
Chris Roberts 2019-06-05 14:01:48 -07:00 committed by GitHub
commit bbd75ef25a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ module Vagrant
end
source_list[name] << source
end
Gem::Dependency.new(name, gem_version)
Gem::Dependency.new(name, *gem_version.split(","))
end
if Vagrant.strict_dependency_enforcement