Skip to content
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: write report in format json #1538

Closed
wants to merge 1 commit into from

Conversation

jonwinton
Copy link

Explanation

This PR's goal is to fix a bug that came up in v0.2.0 where reports are not being created when using a format of type JSON.

Related issue

#1537

Proposed Changes

It looks like in #1190 that the JSON report type support was removed but the case still exists. This just re-implements the old logic.

Checklist

  • I have read the contributing guidelines.
  • I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
  • This is a bug fix and I have added unit tests that prove my fix is effective.

Further Comments

There are existing tests which declare a type of JSON in their formatter and so there is "coverage" but the error state of the JSON failing to marshal is not tested.

@jonwinton jonwinton requested a review from a team as a code owner June 8, 2024 16:32
Signed-off-by: Jon Winton <jwinton@squareup.com>
@eddycharly
Copy link
Member

Closing, done in #1962

@eddycharly eddycharly closed this Sep 13, 2024
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.

2 participants