From c7db3ae4f20b1a6b93bdc64f0144a1e2120d9192 Mon Sep 17 00:00:00 2001 From: Ilia Kebets Date: Fri, 13 Sep 2024 17:18:23 +0200 Subject: [PATCH] fix fix attempt --- packages/ruling/tests/tools/lits.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ruling/tests/tools/lits.ts b/packages/ruling/tests/tools/lits.ts index 46f7e8e140..ef175707c1 100644 --- a/packages/ruling/tests/tools/lits.ts +++ b/packages/ruling/tests/tools/lits.ts @@ -112,6 +112,7 @@ function transformResults( if (!issue.line) { // do nothing // https://github.com/SonarSource/SonarJS/pull/4816#discussion_r1758892962 + continue; } result.issues[ruleId][language][projectWithFilename].push(issue.line); }