Added braces to single condition firingEvaluation string

This commit is contained in:
utkarshcmu 2016-11-17 01:30:50 -08:00
parent 690868c837
commit fc82dac868

View File

@ -47,7 +47,7 @@ func (e *DefaultEvalHandler) Eval(context *EvalContext) {
if i > 0 {
firingEval = "[" + firingEval + " " + operator + " " + strconv.FormatBool(cr.Firing) + "]"
} else {
firingEval = strconv.FormatBool(firing)
firingEval = "[" + strconv.FormatBool(firing) + "]"
}
context.EvalMatches = append(context.EvalMatches, cr.EvalMatches...)