Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
  • Loading branch information
viveksahu26 committed Oct 7, 2024
1 parent 2092973 commit 9e1c5e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/compliance.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ var complianceCmd = &cobra.Command{
sbomqs compliance --oct --json samples/sbomqs-spdx-syft.json
# Check a V3 Framing document compliance against a SBOM in a table output
sbomqs compliance --fsct-v3 <sbom>
sbomqs compliance --fsct <sbom>
# Check a V3 Framing document compliance against a SBOM in a JSON output
sbomqs compliance --fsct-v3 -j <sbom>
sbomqs compliance --fsct -j <sbom>
`,
Args: func(cmd *cobra.Command, args []string) error {
if err := cobra.ExactArgs(1)(cmd, args); err != nil {
Expand Down
1 change: 0 additions & 1 deletion pkg/compliance/oct.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ func octComponents(doc sbom.Document) []*db.Record {

func octPackageName(component sbom.GetComponent) *db.Record {
if result := component.GetName(); result != "" {
fmt.Println("result: ", result)
return db.NewRecordStmt(PACK_NAME, component.GetName(), result, 10.0, "")
}

Expand Down

0 comments on commit 9e1c5e8

Please sign in to comment.