Skip to content

Commit 7e2f5d4

Browse files
JustinGroteCopilot
andauthored
Remove unnecessary collection expression
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 25e2240 commit 7e2f5d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PowerShellEditorServices/Extensions/EditorWorkspace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public sealed class EditorWorkspace
3131
/// <summary>
3232
/// Get all currently open documents in the workspace.
3333
/// </summary>
34-
public WorkspaceOpenDocument[] Documents => [.. editorOperations.GetWorkspaceOpenDocuments()];
34+
public WorkspaceOpenDocument[] Documents => editorOperations.GetWorkspaceOpenDocuments();
3535

3636
#endregion
3737

0 commit comments

Comments
 (0)