Skip to content

Commit 67e3189

Browse files
authored
fix missing space in username input
this caused the preceding argument to fail due to lack of separation between args
1 parent b3966f5 commit 67e3189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/GitHub/GitHubAuthentication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public async Task<AuthenticationPromptResult> GetAuthenticationAsync(Uri targetU
7272
if ((modes & AuthenticationModes.Basic) != 0) promptArgs.Append(" --basic");
7373
if ((modes & AuthenticationModes.OAuth) != 0) promptArgs.Append(" --oauth");
7474
if (!GitHubHostProvider.IsGitHubDotCom(targetUri)) promptArgs.AppendFormat(" --enterprise-url {0}", targetUri);
75-
if (!string.IsNullOrWhiteSpace(userName)) promptArgs.AppendFormat("--username {0}", userName);
75+
if (!string.IsNullOrWhiteSpace(userName)) promptArgs.AppendFormat(" --username {0}", userName);
7676

7777
IDictionary<string, string> resultDict = await InvokeHelperAsync(helperPath, promptArgs.ToString(), null);
7878

0 commit comments

Comments
 (0)