From a450c04a6315d06a0ae23d120630806e33397274 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Tue, 10 Dec 2024 10:44:24 +0100 Subject: [PATCH] fix(spdx): Use a single space after the person prefix for the supplier Same for the originator. This is a fixup for eead59c. Signed-off-by: Sebastian Schuberth --- plugins/reporters/spdx/src/main/kotlin/Extensions.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/reporters/spdx/src/main/kotlin/Extensions.kt b/plugins/reporters/spdx/src/main/kotlin/Extensions.kt index fe3ffe65e3615..810756f87b41f 100644 --- a/plugins/reporters/spdx/src/main/kotlin/Extensions.kt +++ b/plugins/reporters/spdx/src/main/kotlin/Extensions.kt @@ -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 ) }