-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix CPF validation for invalid length The code changes in cpfVal…
…idator.ts fix the validation for CPFs with an invalid length. Previously, the code only checked for a length of 11 or 14, but now it correctly returns an error message when the length is not 11. This ensures that the CPF validation is accurate and reliable.
- Loading branch information
1 parent
d28c2e5
commit fd9e76a
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters