Skip to content

Commit

Permalink
Added default to switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dneed-nimble committed Sep 4, 2023
1 parent 715ade9 commit 051f0e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ public CommandResult Update(ProjectDetails detailsToUpdate)
return grantAmountChanged switch
{
true => reason,
false => null
false => null,
_ => reason
};
}
}

0 comments on commit 051f0e6

Please sign in to comment.