1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-04 19:07:50 +01:00

Swapping [] for Array.Empty<string> (#5092)

This commit is contained in:
Jared McCannon 2024-11-27 06:47:18 -06:00 committed by GitHub
parent 674bd1e495
commit c8930d44f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,5 +8,5 @@ public class CommandResult(IEnumerable<string> errors)
public bool HasErrors => ErrorMessages.Count > 0;
public List<string> ErrorMessages { get; } = errors.ToList();
public CommandResult() : this([]) { }
public CommandResult() : this(Array.Empty<string>()) { }
}