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

Commit 1528234

Browse files
Populating name if null
1 parent 9e39cb4 commit 1528234

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/GitHub.Api/Git/Repository.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,10 @@ public string Name
628628
{
629629
name = url.RepositoryName;
630630
}
631+
else
632+
{
633+
name = LocalPath.FileName;
634+
}
631635
}
632636
return name;
633637
}

0 commit comments

Comments
 (0)