Skip to content

Commit 2be64cd

Browse files
tatianabTatiana Bradley
authored andcommitted
cmd/vulnreport: return after create
Adds a return statement after create and create-excluded command so that a fatal usage error is not logged. Change-Id: I351f8d92d8aac8049ff8283403054db73747fa65 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/459642 Reviewed-by: Tatiana Bradley <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Tatiana Bradley <[email protected]> Reviewed-by: Julie Qiu <[email protected]>
1 parent 7f0ad5b commit 2be64cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/vulnreport/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ func main() {
124124
}
125125
}
126126
}
127+
return
127128
}
128129

129130
ghsaClient := ghsa.NewClient(ctx, *githubToken)

0 commit comments

Comments
 (0)