Skip to content

Conversation

@BernieWhite
Copy link
Member

PR Summary

  • Fixed JSON output format returns exception when no results are produced.

Fixes #1832

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • Change is not breaking
  • This PR is ready to merge and is not Work in Progress
  • Code changes
    • Have unit tests created/ updated
    • Link to a filed issue
    • Change log has been updated with change under unreleased section

@BernieWhite BernieWhite requested a review from a team as a code owner January 6, 2025 04:37
@BernieWhite BernieWhite merged commit 08aa4d8 into microsoft:main Jan 6, 2025
19 checks passed
@BernieWhite BernieWhite deleted the bewhite/fix-json-output branch January 6, 2025 05:10
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.

Invoke-PSRule -OutputFormat 'Json' fails if all found rules are in RULE.EXCLUDE

1 participant