Skip to content

fix: prevent error on null input in appendToResults #747

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

Conversation

PendaGTP
Copy link
Contributor

Description

Fixes #744

  • Add null check in appendToResults to prevent runtime errors when handling null inputs.

I think this is also related to #734 (PR linked #738) since currently Milestones and Custom Properties plugins doesn't return nop results.

Questions

@decyjphr Do you know why do we use flat(3) specifically? I haven't investigated much, but wondering if we could use flat(Infinity) instead (though we might need a guard clause) or something else more clear.

@decyjphr decyjphr merged commit 0cb33c8 into github:main-enterprise Mar 21, 2025
2 checks passed
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.

On PR when no change is done to a ruleset it complains with an error and silently fails and does not process other results
2 participants