Skip to content

Commit

Permalink
return err
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
  • Loading branch information
ramonpetgrave64 committed Jan 16, 2024
1 parent 35350d3 commit ec888c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions verifiers/internal/gha/npm.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"encoding/json"
"errors"
"fmt"
"log"
"net/url"
"strings"

Expand Down Expand Up @@ -131,7 +130,7 @@ func (n *Npm) verifyPublishAttestationSignature() error {
// Retrieve the key material.
npmRegistryPublicKey, err := getKeyDataFromSigstoreTuf(npmRegistryPublicKeyID, attestationKeyUsage)
if err != nil {
log.Fatal(err)
return err
}

// Verify the PAE signature.
Expand Down

0 comments on commit ec888c2

Please sign in to comment.