diff --git a/scripts/lib/kova-report-gate.mjs b/scripts/lib/kova-report-gate.mjs index 770bd60bed44..742551c48d0a 100644 --- a/scripts/lib/kova-report-gate.mjs +++ b/scripts/lib/kova-report-gate.mjs @@ -142,10 +142,6 @@ function validateRecord(recordValue) { return record; } -function recordViolations(record) { - return record.violations === undefined ? [] : array(record.violations, "record violations"); -} - function validateTargetCleanup(report) { if (!text(report.target, "report target").startsWith("local-build:")) { check(report.targetCleanup === null, "non-local target had cleanup metadata");