Skip to content

Commit

Permalink
Merge pull request #274 from viveksahu26/fix_build_issue
Browse files Browse the repository at this point in the history
  • Loading branch information
riteshnoronha committed Jul 2, 2024
2 parents 0a0a3e2 + 57a97bb commit 4a5121c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/reporter/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func (r *Reporter) simpleReport() {
doc := r.Docs[index]

format := doc.Spec().FileFormat()
spec := doc.Spec().Name()
specVersion := doc.Spec().Version()
spec := doc.Spec().GetName()
specVersion := doc.Spec().GetVersion()

if spec == "spdx" {
specVersion = strings.Replace(specVersion, "SPDX-", "", 1)
Expand Down

0 comments on commit 4a5121c

Please sign in to comment.