Skip to content

Commit

Permalink
Fixed typo in Error string (#4539).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 15, 2024
1 parent cd89de4 commit 7882905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ export function assertArgumentCount(count: number, expectedCount: number, messag
expectedCount: expectedCount
});

assert(count <= expectedCount, "too many arguemnts" + message, "UNEXPECTED_ARGUMENT", {
assert(count <= expectedCount, "too many arguments" + message, "UNEXPECTED_ARGUMENT", {
count: count,
expectedCount: expectedCount
});
Expand Down

1 comment on commit 7882905

@SamMayWork
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legend, thank you!

Please sign in to comment.