We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed280c2 commit 1ba19f7Copy full SHA for 1ba19f7
tools/curations/buildSrc/src/main/kotlin/ScanCodeLicenseDbClassifications.kt
@@ -137,7 +137,7 @@ private fun downloadLicenseDetailsBatched(
137
}
138
139
private fun LicenseDetails.getLicenseId(): SpdxSingleLicenseExpression {
140
- val expression = spdxLicenseKey ?: otherSpdxLicenseKeys.firstOrNull() ?: "LicenseRef-scancode-${key}"
+ val expression = spdxLicenseKey ?: otherSpdxLicenseKeys.firstOrNull() ?: "LicenseRef-scancode-$key"
141
return SpdxSingleLicenseExpression.parse(expression)
142
143
0 commit comments