Skip to content

Commit

Permalink
Fix typo in CPE-parsing error (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
robdimsdale committed Apr 22, 2022
1 parent 172ecc0 commit c270ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syft/pkg/cpe.go
Expand Up @@ -30,7 +30,7 @@ func NewCPE(cpeStr string) (CPE, error) {
// get a CPE object based on the given string --don't validate yet since it may be possible to escape select cases on the callers behalf
c, err := newCPEWithoutValidation(cpeStr)
if err != nil {
return CPE{}, fmt.Errorf("unable to prase CPE string: %w", err)
return CPE{}, fmt.Errorf("unable to parse CPE string: %w", err)
}

// ensure that this CPE can be validated after being fully sanitized
Expand Down

0 comments on commit c270ee2

Please sign in to comment.