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

Commit 00ce759

Browse files
committed
Fix code analysis
1 parent 65b5af2 commit 00ce759

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/GitHub.App/Services/GitClient.cs

-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ namespace GitHub.Services
1111
[PartCreationPolicy(CreationPolicy.Shared)]
1212
public class GitClient : IGitClient
1313
{
14-
readonly IGitHubCredentialProvider credentialProvider;
1514
readonly PushOptions pushOptions;
1615
readonly FetchOptions fetchOptions;
1716

1817
[ImportingConstructor]
1918
public GitClient(IGitHubCredentialProvider credentialProvider)
2019
{
21-
this.credentialProvider = credentialProvider;
2220
pushOptions = new PushOptions { CredentialsProvider = credentialProvider.HandleCredentials };
2321
fetchOptions = new FetchOptions { CredentialsProvider = credentialProvider.HandleCredentials };
2422
}

0 commit comments

Comments
 (0)