Skip to content

Commit 981998b

Browse files
committed
Missed a superfluous .ToArray() call. Oops.
1 parent e901b84 commit 981998b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.SmartIndenter/Indenter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void Indent(IVBComponent component)
7171
}
7272

7373
var codeLines = module.GetLines(1, lineCount).Replace("\r", string.Empty).Split('\n');
74-
var indented = Indent(codeLines, component.Name).ToArray();
74+
var indented = Indent(codeLines, component.Name);
7575

7676
module.DeleteLines(1, lineCount);
7777
module.InsertLines(1, string.Join("\r\n", indented));

0 commit comments

Comments
 (0)