Skip to content

Commit

Permalink
fix(spdx): Use a single space after the person prefix for the supplier
Browse files Browse the repository at this point in the history
Same for the originator. This is a fixup for eead59c.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Dec 10, 2024
1 parent 29a6384 commit a450c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/reporters/spdx/src/main/kotlin/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ internal fun Package.toSpdxPackage(
.sorted()
},
name = id.name,
originator = authors.takeUnless { it.isEmpty() }?.joinToString(prefix = SpdxConstants.PERSON),
originator = authors.takeUnless { it.isEmpty() }?.joinToString(prefix = "${SpdxConstants.PERSON} "),
packageVerificationCode = packageVerificationCode,
supplier = authors.takeUnless { it.isEmpty() }?.joinToString(prefix = SpdxConstants.PERSON),
supplier = authors.takeUnless { it.isEmpty() }?.joinToString(prefix = "${SpdxConstants.PERSON} "),
versionInfo = id.version
)
}
Expand Down

0 comments on commit a450c04

Please sign in to comment.