Skip to content

Commit c636c18

Browse files
committed
nested prereqs need to compare with identifiers too
1 parent 02e57b1 commit c636c18

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
@@ -565,7 +565,7 @@ func checkPreReqsForPreReqs(preReqFlagPreReqs []Prerequisite, flags map[string]F
565565
preReqVariationToMatch := nestedPreReq.Variations.FindByIdentifier(nestedPreReq.GetVariationName(target))
566566
if preReq.Feature == nestedPreReq.Feature {
567567
for _, variation := range preReq.Variations {
568-
if variation != preReqVariationToMatch.Value {
568+
if variation != preReqVariationToMatch.Identifier {
569569
return false
570570
}
571571
}

0 commit comments

Comments
 (0)