clean up the code

This commit is contained in:
ejahnGithub 2025-05-20 18:35:40 -04:00
parent 3e5456827c
commit 0a6ce2bb74
5 changed files with 93 additions and 118 deletions

View file

@ -239,9 +239,6 @@ func (v *LiveSigstoreVerifier) verify(attestation *api.Attestation, policy verif
result, err := verifier.Verify(attestation.Bundle, policy)
// if verification fails, create the error and exit verification early
if err != nil {
v.Logger.VerbosePrint(v.Logger.ColorScheme.Redf(
"Error is \"%s\"\n", err.Error(),
))
v.Logger.VerbosePrint(v.Logger.ColorScheme.Redf(
"Failed to verify against issuer \"%s\" \n\n", issuer,
))