Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 8a1cd20

Browse files
Code cleanup
1 parent 15388c1 commit 8a1cd20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.Api/UI/TreeBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ internal static FileTreeNode BuildTreeRoot(IList<GitStatusEntry> newEntries, Lis
122122

123123
for (var index1 = 0; index1 < gitStatusEntries.Count; index1++)
124124
{
125-
GitStatusEntry gitStatusEntry = gitStatusEntries[index1];
125+
var gitStatusEntry = gitStatusEntries[index1];
126126
var entryPath = gitStatusEntry.Path.ToNPath();
127127
if (entryPath.IsChildOf(tree.Path)) entryPath = entryPath.RelativeTo(tree.Path.ToNPath());
128128

@@ -132,7 +132,7 @@ internal static FileTreeNode BuildTreeRoot(IList<GitStatusEntry> newEntries, Lis
132132
node.Icon = iconLoaderFunc?.Invoke(gitStatusEntry.ProjectPath);
133133
}
134134

135-
TreeBuilder.BuildChildNode(tree, node, foldedTreeEntries, stateChangeCallback);
135+
BuildChildNode(tree, node, foldedTreeEntries, stateChangeCallback);
136136
}
137137

138138
return tree;

0 commit comments

Comments
 (0)