Skip to content

Commit

Permalink
fix: parsing attributed description with no command runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Theta-Dev committed Nov 3, 2022
1 parent 099b53c commit 592e1d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ public static String getAttributedDescription(

final String content = attributedDescription.getString("content");
final JsonArray commandRuns = attributedDescription.getArray("commandRuns");
if (content == null || commandRuns.isEmpty()) {
if (content == null) {
return null;
}

Expand Down

0 comments on commit 592e1d6

Please sign in to comment.