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:
parent
674bd1e495
commit
c8930d44f2
@ -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>()) { }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user