Skip to content

Commit 7b7ca94

Browse files
authored
Merge pull request #8 from AnetteTaivere/explode-bugfix
Bugfix: do not explode warnings when `group_loc` is `null`
2 parents 26f1b15 + 5a2e757 commit 7b7ca94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/api/messages/GoblintMessagesResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static class Group implements MultiPiece {
9292
* @return A collection of AnalysisResult objects.
9393
*/
9494
public List<AnalysisResult> convert(List<Tag> tags, String severity, boolean explode) {
95-
return explode
95+
return explode && this.group_loc != null
9696
? convertGroupExplode(tags, severity)
9797
: convertGroup(tags, severity);
9898
}

0 commit comments

Comments
 (0)