Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

STDOUT of powerpipe benchmark run doesn't follow --output option when a new version is available #452

Closed
k-kawa opened this issue Aug 7, 2024 · 1 comment · Fixed by #454
Labels
bug Something isn't working

Comments

@k-kawa
Copy link

k-kawa commented Aug 7, 2024

Describe the bug
When a new version of powerpipe is available, powerpipe benchmark run --output json command prints a notification to its stdout so that the output results in an invalid JSON string.

Powerpipe version (powerpipe -v)
v0.4.0

To reproduce
Run the command with its not-latest binary.

Expected behavior
The format of the command follows --output option even if its new version is available. The notification message should be printed to its stderr not stdout.

Additional context
Add any other context about the problem here.

@k-kawa k-kawa added the bug Something isn't working label Aug 7, 2024
@k-kawa k-kawa changed the title STDOUT of powerpipe benchmark run doesn't follow --output` option when a new version is available STDOUT of powerpipe benchmark run doesn't follow --output option when a new version is available Aug 7, 2024
@pskrbasu
Copy link
Collaborator

Thanks @k-kawa for finding this. We will fix it asap.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
2 participants