-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
Broken JSON on standard output #1000
Comments
@muszalski try: |
This also caused me trouble yesterday. Why not redirect this message to stderr? The 'settings' information is also output via stderr after all. |
FYI, you won't see the "Working ..." part if you use the -o argument. For example: You can also pass |
Not sure if there is a preferred way to fix this. Redirecting the progress to stderr doesn't |
Describe the bug
Hi!
When JSON format is requested the standard output starts with:
which breaks JSON.
Reproduction steps
Expected behavior
Valid JSON on output
Bandit version
1.7.5 (Default)
Python version
3.11 (Default)
Additional context
No response
The text was updated successfully, but these errors were encountered: