Skip to content

Commit

Permalink
fix: --summary should work like -q
Browse files Browse the repository at this point in the history
fix: --summary should work like -q
  • Loading branch information
jiuker committed May 8, 2024
1 parent 646712d commit 21322a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.9
go-version: go1.21.10
check-latest: true
- name: Get official govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
Expand Down
2 changes: 1 addition & 1 deletion cmd/mirror-main.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ func newMirrorJob(srcURL, dstURL string, opts mirrorOptions) *mirrorJob {

// we'll define the status to use here,
// do we want the quiet status? or the progressbar
if globalQuiet {
if globalQuiet || opts.isSummary {
mj.status = NewQuietStatus(mj.parallel)
} else if globalJSON {
mj.status = NewQuietStatus(mj.parallel)
Expand Down

0 comments on commit 21322a6

Please sign in to comment.