Skip to content

Commit

Permalink
fix: error wording
Browse files Browse the repository at this point in the history
  • Loading branch information
tracernz authored Nov 15, 2024
1 parent 6255687 commit c941f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Binary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function addRegex(regex: string): FilterRegex[] {

function addRegexInvert(): void {
if (allRegex.length === 0) {
throw new Error('Cannot ignore the last regex when there are no regex args!');
throw new Error('Cannot invert the last regex when there are no regex args!');
}
allRegex[allRegex.length - 1].invert = true;
}
Expand Down

0 comments on commit c941f5f

Please sign in to comment.