Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
kebetsi committed Sep 13, 2024
1 parent c7db3ae commit 00bd076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ruling/tests/tools/lits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function transformResults(
if (result.issues[ruleId][language][projectWithFilename] === undefined) {
result.issues[ruleId][language][projectWithFilename] = [];
}
if (!issue.line) {
if (issue.line === null) {
// do nothing
// https://github.com/SonarSource/SonarJS/pull/4816#discussion_r1758892962
continue;
Expand Down

0 comments on commit 00bd076

Please sign in to comment.