Skip to content

Commit 5a2e757

Browse files
committed
Bugfix: do not explode warnings when group_loc is null
1 parent 26f1b15 commit 5a2e757

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)