Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the minimum length assertion #3

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Fix the minimum length assertion #3

merged 1 commit into from
Dec 13, 2023

Conversation

woxtu
Copy link
Contributor

@woxtu woxtu commented Dec 12, 2023

It seems that the minimum length assertion has the wrong condition and message.

Spec: https://github.com/sqids/sqids-spec/blob/9f1faf43f6c61796742ed1ebfb19599e3fab76b4/src/index.ts#L43-L48

@4kimov 4kimov requested a review from macmoonshine December 13, 2023 15:44
@macmoonshine macmoonshine merged commit 5cb0439 into sqids:main Dec 13, 2023
1 check passed
@woxtu woxtu deleted the patch branch December 14, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants