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); }