Fixes careless mistake - undefined object.

This commit is contained in:
Joshi 2020-01-13 14:12:05 -08:00
parent a6825f530c
commit d152440436

View File

@ -175,7 +175,6 @@ export default class Condition extends EventEmitter {
//TODO: implement as part of the evaluator class task.
evaluate() {
if (this.trigger === TRIGGER.ANY) {
criteria.evaluate();
this.result = false;
} else if (this.trigger === TRIGGER.ALL) {
this.result = false;