Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@willmurphyscode
Copy link
Contributor

Fixes #1392.

// signal interrupts. Is responsible for handling each event relative to a given UI an to coordinate eventing until
// an eventual graceful exit.
func eventLoop(workerErrs <-chan error, signals <-chan os.Signal, subscription *partybus.Subscription, cleanupFn func(), uxs ...clio.UI) error {
func eventLoop(workerErrs <-chan error, signals <-chan os.Signal, subscription *partybus.Subscription, cleanupFn func(), uxs ...clio.UI) error { //nolint:gocognit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the nolint. I didn't see a great way to clean this up.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with this being nolint - it's legacy and meant to be stripped out eventually for the full cli refactor

@willmurphyscode willmurphyscode changed the title Restore output of vulnerabilities when --fail-on results in failure fix: vulnerabilities should be printed when --fail-on fails Jul 19, 2023
},
},
{
name: "vulnerabilities in output on -f with failure",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks for the sanity check test here

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.

grype 0.64.0 doesn't list vulnerabilties if --fail-on fails

3 participants