Skip to content

Commit

Permalink
Merge pull request #360 from mjcheetham/github-xui-fix
Browse files Browse the repository at this point in the history
Fix bug in GitHub x-platform UI command line parsing/binding
  • Loading branch information
mjcheetham committed Jun 2, 2021
2 parents ff43eeb + e1bb97a commit dd0752d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/GitHub.UI/Commands/CredentialsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ public CredentialsCommand(ICommandContext context)
Handler = CommandHandler.Create<string, string, bool, bool, bool>(ExecuteAsync);
}

private async Task<int> ExecuteAsync(string enterpriseUrl, string userName, bool basic, bool browser, bool pat)
private async Task<int> ExecuteAsync(string enterpriseUrl, string userName, bool basic, bool oauth, bool pat)
{
var viewModel = new CredentialsViewModel(Context.Environment)
{
ShowBrowserLogin = browser,
ShowBrowserLogin = oauth,
ShowTokenLogin = pat,
ShowBasicLogin = basic,
};
Expand Down

0 comments on commit dd0752d

Please sign in to comment.