Merge "Rename release_variable to release_flag in selects" into main
This commit is contained in:
commit
ef14cae605
1 changed files with 2 additions and 2 deletions
|
@ -2145,9 +2145,9 @@ func (e configurationEvalutor) EvaluateConfiguration(condition proptools.Configu
|
||||||
ctx := e.ctx
|
ctx := e.ctx
|
||||||
m := e.m
|
m := e.m
|
||||||
switch condition.FunctionName() {
|
switch condition.FunctionName() {
|
||||||
case "release_variable":
|
case "release_flag":
|
||||||
if condition.NumArgs() != 1 {
|
if condition.NumArgs() != 1 {
|
||||||
ctx.OtherModulePropertyErrorf(m, property, "release_variable requires 1 argument, found %d", condition.NumArgs())
|
ctx.OtherModulePropertyErrorf(m, property, "release_flag requires 1 argument, found %d", condition.NumArgs())
|
||||||
return proptools.ConfigurableValueUndefined()
|
return proptools.ConfigurableValueUndefined()
|
||||||
}
|
}
|
||||||
if v, ok := ctx.Config().productVariables.BuildFlags[condition.Arg(0)]; ok {
|
if v, ok := ctx.Config().productVariables.BuildFlags[condition.Arg(0)]; ok {
|
||||||
|
|
Loading…
Reference in a new issue