Skip to content

Commit 88a47c8

Browse files
committed
fix recursive deletes/deep sets
1 parent e454620 commit 88a47c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GithubProvider/PathInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,9 @@ public override async Task<IEnumerable<PathInfo>> Children()
468468
switch (item.Type)
469469
{
470470
case TreeType.Blob:
471-
return new FileInfo(Org, Repo, item.Path, item.Sha);
471+
return new FileInfo(Org, Repo, Path.Combine(FilePath, item.Path), item.Sha);
472472
case TreeType.Tree:
473-
return new FolderInfo(Org, Repo, item.Path, item.Sha);
473+
return new FolderInfo(Org, Repo, Path.Combine(FilePath, item.Path), item.Sha);
474474
default:
475475
return null;
476476
}

0 commit comments

Comments
 (0)