Merge pull request #321 from colincross/far_variations

Relax check in moduleMatchingVariant
This commit is contained in:
colincross 2020-09-11 20:15:21 -07:00 committed by GitHub
commit 4b3efdc5b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2733,7 +2733,7 @@ func (c *Context) moduleMatchingVariant(module *moduleInfo, name string) *module
}
for _, m := range group.modules {
if module.variant.variations.equal(m.moduleOrAliasVariant().variations) {
if module.variant.name == m.moduleOrAliasVariant().name {
return m.moduleOrAliasTarget()
}
}