Skip to content
Browse files

evaluator: Fix the no_gpl_declared.kts script

Add the second parameter to the `error` function call. This is a fixup
for e559b3e. The issue was not detected by the `EvalutorTest` because
Kotlin's own `error` function was called instead, so the script could
still be compiled.

Signed-off-by: Martin Nonnenmacher <>
  • Loading branch information...
mnonnenmacher authored and tsteenbe committed Jul 3, 2019
1 parent 93c4b2f commit 9bde06e2c5165b7961fc7e60ba2b0406646dec54
Showing with 4 additions and 1 deletion.
  1. +4 −1 evaluator/src/main/resources/rules/no_gpl_declared.kts
@@ -20,7 +20,10 @@ val ruleSet = ruleSet(ortResult) {

error("The package '${}' has the ${} license '$license'.")
"The package '${}' has the ${} license '$license'.",
"Remove the dependency on this package."

0 comments on commit 9bde06e

Please sign in to comment.
You can’t perform that action at this time.