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

Commit 39a6996

Browse files
Changing how a empty GitRemote Default is defined
After a domain reload strings are empty not null
1 parent 85d93f0 commit 39a6996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Git/GitRemote.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public enum GitRemoteFunction
1414
[Serializable]
1515
public struct GitRemote
1616
{
17-
public static GitRemote Default = new GitRemote();
17+
public static GitRemote Default = new GitRemote(String.Empty, String.Empty, String.Empty, GitRemoteFunction.Unknown, string.Empty, string.Empty, string.Empty);
1818

1919
public string name;
2020
public string url;

0 commit comments

Comments
 (0)