Skip to content

Commit 9666c94

Browse files
authored
Merge pull request #205 from mastercoms/patch-1
Fix missing space in username input
2 parents b3966f5 + 67e3189 commit 9666c94

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)