Skip to content

Commit 1ba19f7

Browse files
committed
refactor(tools/curations): Drop unnecessary curly braces
Signed-off-by: Frank Viernau <[email protected]>
1 parent ed280c2 commit 1ba19f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/curations/buildSrc/src/main/kotlin/ScanCodeLicenseDbClassifications.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private fun downloadLicenseDetailsBatched(
137137
}
138138

139139
private fun LicenseDetails.getLicenseId(): SpdxSingleLicenseExpression {
140-
val expression = spdxLicenseKey ?: otherSpdxLicenseKeys.firstOrNull() ?: "LicenseRef-scancode-${key}"
140+
val expression = spdxLicenseKey ?: otherSpdxLicenseKeys.firstOrNull() ?: "LicenseRef-scancode-$key"
141141
return SpdxSingleLicenseExpression.parse(expression)
142142
}
143143

0 commit comments

Comments
 (0)