Skip to content

Commit

Permalink
fix: logging typo (guacsec#961)
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Zeolla <zeolla@gmail.com>
  • Loading branch information
JonZeolla committed Jun 21, 2023
1 parent e1c36ff commit 6adc09e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/guacone/cmd/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var filesCmd = &cobra.Command{
if err != nil {
gotErr = true
filesWithErrors = append(filesWithErrors, d.SourceInformation.Source)
return fmt.Errorf("unable to process doc: %v, fomat: %v, document: %v", err, d.Format, d.Type)
return fmt.Errorf("unable to process doc: %v, format: %v, document: %v", err, d.Format, d.Type)
}

predicates, idstrings, err := ingestorFunc(docTree)
Expand Down
2 changes: 1 addition & 1 deletion cmd/guacone/cmd/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var ociCmd = &cobra.Command{
docTree, err := processorFunc(d)
if err != nil {
gotErr = true
return fmt.Errorf("unable to process doc: %v, fomat: %v, document: %v", err, d.Format, d.Type)
return fmt.Errorf("unable to process doc: %v, format: %v, document: %v", err, d.Format, d.Type)
}

predicates, idstrings, err := ingestorFunc(docTree)
Expand Down
2 changes: 1 addition & 1 deletion cmd/guacone/cmd/osv.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var osvCmd = &cobra.Command{
docTree, err := processorFunc(d)
if err != nil {
gotErr = true
return fmt.Errorf("unable to process doc: %v, fomat: %v, document: %v", err, d.Format, d.Type)
return fmt.Errorf("unable to process doc: %v, format: %v, document: %v", err, d.Format, d.Type)
}

predicates, idstrings, err := ingestorFunc(docTree)
Expand Down
2 changes: 1 addition & 1 deletion cmd/guacone/cmd/scorecard.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ var scorecardCmd = &cobra.Command{
docTree, err := processorFunc(d)
if err != nil {
gotErr = true
return fmt.Errorf("unable to process doc: %v, fomat: %v, document: %v", err, d.Format, d.Type)
return fmt.Errorf("unable to process doc: %v, format: %v, document: %v", err, d.Format, d.Type)
}

predicates, idstrings, err := ingestorFunc(docTree)
Expand Down

0 comments on commit 6adc09e

Please sign in to comment.