commit
e412f09f7e
1 changed files with 6 additions and 4 deletions
10
context.go
10
context.go
|
@ -1010,10 +1010,12 @@ func (c *Context) createVariations(origModule *moduleInfo, mutatorName string,
|
|||
newModule.dependencyVariant = origModule.dependencyVariant.clone()
|
||||
newModule.moduleProperties = newProperties
|
||||
|
||||
if newModule.variantName == "" {
|
||||
newModule.variantName = variationName
|
||||
} else {
|
||||
newModule.variantName += "_" + variationName
|
||||
if variationName != "" {
|
||||
if newModule.variantName == "" {
|
||||
newModule.variantName = variationName
|
||||
} else {
|
||||
newModule.variantName += "_" + variationName
|
||||
}
|
||||
}
|
||||
|
||||
newModules = append(newModules, newModule)
|
||||
|
|
Loading…
Reference in a new issue