Skip to content

Commit 12be373

Browse files
committed
make sonar happy
1 parent 8bba689 commit 12be373

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

application/src/main/java/org/togetherjava/tjbot/features/moderation/ThisIsScamCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ private MessageCreateAction reportToMods(Message message, TextChannel auditChann
182182
Button.danger(generateComponentId(args), "No"));
183183
}
184184

185+
@SuppressWarnings("squid:S3457") // %n is wrong, markdown must use \n
185186
private static String createDescription(Message target) {
186187
String content = target.getContentStripped();
187188
String description = content.isBlank() ? "(empty message)" : content;

0 commit comments

Comments
 (0)