Skip to content

Commit

Permalink
Fix connection to GitHub with normal token
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Feb 25, 2022
1 parent 5111ef5 commit 719193b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dotnet-releaser/DevHosting/GitHubDevHosting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public async Task<bool> Connect()
_log.Info("Connecting to GitHub");
try
{
_ = await _client.User.Current();
_ = await _client.Repository.Get(Configuration.User, Configuration.Repo);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 719193b

Please sign in to comment.