Commit fc82dac8 by utkarshcmu

Added braces to single condition firingEvaluation string

parent 690868c8
......@@ -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...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment