Skip to content

Commit 66d34db

Browse files
committed
changed prereq matches from value to identifer
1 parent bad5711 commit 66d34db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evaluation/feature.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func prereqsSatisfied(fc FeatureConfig, target *Target, flags map[string]Feature
315315

316316
if pre.Feature == prereqFlag.Feature {
317317
for _, variation := range pre.Variations {
318-
if variation != variationToMatch.Value {
318+
if variation != variationToMatch.Identifier {
319319
return false
320320
}
321321
}

0 commit comments

Comments
 (0)