Skip to content

Commit 6893835

Browse files
committed
Simplify collection initialization (IDE0301)
1 parent f884061 commit 6893835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ internal AzureDevOpsWorkItem(
249249
/// <see cref="AzureDevOpsWorkItemSettings.ThrowExceptionIfWorkItemCouldNotBeFound"/> is set to <c>true</c>.</exception>
250250
public IEnumerable<string> Tags => this.ValidateWorkItem()
251251
? (IEnumerable<string>)this.GetField("System.Tags").Split("; ", StringSplitOptions.RemoveEmptyEntries)
252-
: Array.Empty<string>();
252+
: [];
253253

254254
/// <summary>
255255
/// Gets the id of the parent work item.

0 commit comments

Comments
 (0)