-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add throw for empty strings in rules with modifier contains, startwit…
…h, and endswith (#860) (#885) * add validation for empty strings with contains, startswith and endswith modifiers Signed-off-by: Joanne Wang <jowg@amazon.com> * throw exception if empty string with contains, startswith, or endswith Signed-off-by: Joanne Wang <jowg@amazon.com> * change var name Signed-off-by: Joanne Wang <jowg@amazon.com> * add modifiers to log Signed-off-by: Joanne Wang <jowg@amazon.com> --------- Signed-off-by: Joanne Wang <jowg@amazon.com> (cherry picked from commit f4ee7bb) Co-authored-by: Joanne Wang <jowg@amazon.com> (cherry picked from commit efade2c)
- Loading branch information
1 parent
eb9649e
commit ed5c499
Showing
2 changed files
with
81 additions
and
1 deletion.
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