Skip to content

Commit f8c8587

Browse files
committed
refactor(evaluator.rules): Fix-up the ordering of license categories
This is a fix-up for ed280c2. Signed-off-by: Frank Viernau <[email protected]>
1 parent e95eb3a commit f8c8587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evaluator-rules/src/main/resources/evaluator.rules.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ fun getLicensesForCategory(category: String): Set<SpdxSingleLicenseExpression> =
3939
"Failed to obtain the license for category '$category', because that category does not exist."
4040
}
4141

42-
val commercialLicenses = getLicensesForCategory("commercial")
4342
val claLicenses = getLicensesForCategory("cla")
43+
val commercialLicenses = getLicensesForCategory("commercial")
4444
val copyleftLicenses = getLicensesForCategory("copyleft")
4545
val copyleftLimitedLicenses = getLicensesForCategory("copyleft-limited")
4646
val freeRestrictedLicenses = getLicensesForCategory("free-restricted")
@@ -86,8 +86,8 @@ val ignoredLicenses = listOf(
8686
* policy rules for new (offinding) categories, if any.
8787
*/
8888
val handledLicenses = listOf(
89-
commercialLicenses,
9089
claLicenses,
90+
commercialLicenses,
9191
copyleftLicenses,
9292
copyleftLimitedLicenses,
9393
freeRestrictedLicenses,

0 commit comments

Comments
 (0)