Skip to content

Commit d64b9a3

Browse files
authored
fix(ci): remove duplicate Kova gate helper (#103082)
1 parent 7647d5c commit d64b9a3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎scripts/lib/kova-report-gate.mjs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ function validateRecord(recordValue) {
142142
return record;
143143
}
144144

145-
function recordViolations(record) {
146-
return record.violations === undefined ? [] : array(record.violations, "record violations");
147-
}
148-
149145
function validateTargetCleanup(report) {
150146
if (!text(report.target, "report target").startsWith("local-build:")) {
151147
check(report.targetCleanup === null, "non-local target had cleanup metadata");

0 commit comments

Comments
 (0)