Skip to content

Commit

Permalink
Remove braces on single-statement if body
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Mar 25, 2022
1 parent 595d6eb commit bd9618a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Hammer/CommandModules/Staff/StaffModule.EditNote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ public async Task EditNoteCommandAsync(CommandContext context,
var embed = new DiscordEmbedBuilder();

if (string.IsNullOrWhiteSpace(content))
{
return;
}

MemberNote? note = await _memberNoteService.GetNoteAsync(noteId);

Expand Down

0 comments on commit bd9618a

Please sign in to comment.