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

Commit 8b88185

Browse files
Only setting credential helper if it's not set
1 parent f72b7f6 commit 8b88185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/ApplicationManagerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private async Task RunInternal()
131131

132132
await gitConfigGetTask.RunAsync(CancellationToken.None);
133133

134-
if (credentialHelper != "wincred")
134+
if (string.IsNullOrEmpty(credentialHelper))
135135
{
136136
var gitConfigSetTask = new GitConfigSetTask(Environment, ProcessManager,
137137
new TaskResultDispatcher<string>(s => { }), "credential.helper", "wincred",

0 commit comments

Comments
 (0)