We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ed54a commit 74d8748Copy full SHA for 74d8748
src/main/java/org/sonarlint/cli/report/JsonReport.java
@@ -70,7 +70,7 @@ public void execute(String projectName, Date date, Collection<Trackable> trackab
70
if (issue.getStartLine() != null) {
71
lines.addProperty("begin", issue.getStartLine());
72
73
- if (issue.getStartLine() != null) {
+ if (issue.getEndLine() != null) {
74
lines.addProperty("end", issue.getEndLine());
75
} else {
76
lines.addProperty("end", 1);
0 commit comments