-
Notifications
You must be signed in to change notification settings - Fork 31
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: correctly handle empty params #36
Conversation
Signed-off-by: Devrim Şahin <devrim.sahin@picussecurity.com>
Signed-off-by: Devrim Şahin <devrim.sahin@picussecurity.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please extract this logic into a separate func and add tests for it? That should resolve future regressions like the one introduced in the previous PR
Sure thing 👍 Where do your unit tests normally reside? I cannot locate them. |
Signed-off-by: Devrim Şahin <devrim.sahin@picussecurity.com>
We don't have them yet :( That's probably the root cause of missing the previous bug :) You can just add a new |
Ah ok 😄 Added a simple test for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
No description provided.