Fixed bug introduced by refactor. Oops.

This commit is contained in:
Andrew Henry 2025-05-08 17:05:55 -07:00
parent b2417ce5cc
commit 0a9c1645cf

View File

@ -272,8 +272,8 @@ export default class TelemetryCriterion extends EventEmitter {
this.input.forEach((input) => params.push(input));
}
if (typeof this.comparator === 'function') {
result = Boolean(this.comparator(params));
if (typeof this.#comparator === 'function') {
result = Boolean(this.#comparator(params));
}
}