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

Disable ui before run function on db status #2008

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Disable ui before run function on db status #2008

merged 1 commit into from
Jul 25, 2024

Conversation

wagoodman
Copy link
Contributor

The UI is being disabled after the run instead of before the run, leading to garbled output:

❯ grype db status
Location:  /Users/wagoodman/Library/Caches/grype/db/5
                                                     Built:     2024-07-24 01:31:07 +0000 UTC
                                                                                             Schema:    5
                                                                                                         Checksum:  sha256:e56b36edcd25dcff0566eecb2b83fad05e5451d881b81662d9b16f903185b235
                                                                                                                                                                                           Status:    valid

This PR fixes this behavior

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the bug Something isn't working label Jul 24, 2024
@wagoodman wagoodman requested a review from a team July 24, 2024 20:04
@spiffcs spiffcs merged commit 1d38cea into main Jul 25, 2024
10 checks passed
@spiffcs spiffcs deleted the fix-disable-ui branch July 25, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants