Skip to content

Commit

Permalink
VCI-907: Fix codesmell
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Aug 21, 2024
1 parent 009e99f commit 39a1ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Build/Cloud/Models/VirtoCloudError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class VirtoCloudError
public string GetErrorMessage()
{
var message = Message;
if (Errors != null && Errors.Any())
if (Errors?.Count > 0)
{
message += Environment.NewLine + string.Join(Environment.NewLine, Errors);
}
Expand Down

0 comments on commit 39a1ea5

Please sign in to comment.