Skip to content

Commit

Permalink
fix revive error by removing unused parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Kumar Sahu <[email protected]>
  • Loading branch information
viveksahu26 committed Aug 12, 2024
1 parent 5015cd8 commit a2e646a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/score.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var scoreCmd = &cobra.Command{
sbomqs score --category NTIA-minimum-elements --feature sbom_authors samples/sbomqs-spdx-syft.json
`,

Args: func(cmd *cobra.Command, args []string) error {
Args: func(_ *cobra.Command, args []string) error {
if len(args) <= 0 {
if len(inFile) <= 0 && len(inDirPath) <= 0 {
return fmt.Errorf("provide a path to an sbom file or directory of sbom files")
Expand Down

0 comments on commit a2e646a

Please sign in to comment.