Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 335a280

Browse files
committed
Allow deprecated use of fetch from PR #1250
1 parent d620d23 commit 335a280

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.App/Services/GitClient.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ public Task Fetch(IRepository repo, UriString cloneUrl, params string[] refspecs
108108
var remote = repo.Network.Remotes.Add(tempRemoteName, httpsUrl);
109109
try
110110
{
111+
#pragma warning disable 0618 // Network.Fetch is deprecated
111112
repo.Network.Fetch(remote, refspecs, fetchOptions);
113+
#pragma warning restore 0618
112114
}
113115
finally
114116
{

0 commit comments

Comments
 (0)