use sigstore specific err
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
b44c9d3003
commit
93c78a2134
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ func runVerify(opts *Options) error {
|
|||
sigstoreRes := opts.SigstoreVerifier.Verify(attestations, sp)
|
||||
if sigstoreRes.Error != nil {
|
||||
opts.Logger.Println(opts.Logger.ColorScheme.Red("✗ Sigstore verification failed"))
|
||||
return err
|
||||
return sigstoreRes.Error
|
||||
}
|
||||
|
||||
// Verify extensions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue