Top level output
config should only affect grype root command
#2025
Labels
bug
Something isn't working
output
config should only affect grype root command
#2025
What happened:
If
output: [json]
(or any other list, including an empty list) is present in the config file,grype db list
fails with an error.What you expected to happen:
Not to fail with an error.
How to reproduce it (as minimally and precisely as possible):
You'll see that
grype alpine:latest
works correctly and prints JSON to stdout, butgrype db list
fails in the following way:Anything else we need to know?:
Environment:
grype version
:cat /etc/os-release
or similar): M1 macbookThe text was updated successfully, but these errors were encountered: