Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/alert/condition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Condition {
const types = ['and', 'or'] as const;

if (!types.includes(operator)) {
throw Error(`Operator must be one of [${types.toString}]`);
throw Error(`Operator must be one of [${types.toString()}]`);
}

this._operator.type = operator;
Expand Down