migrate to dotnet-format tool (#2016)

* migrate to new dotnet-format tool in build script (run on local build)
* reformat code
This commit is contained in:
Brendan Forster
2019-09-24 11:34:50 -03:00
committed by GitHub
parent aeb8d19f29
commit ce5ea64428
27 changed files with 54 additions and 124 deletions
@@ -107,7 +107,7 @@ namespace Octokit.Reactive
public IObservable<Reaction> GetAll(long repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));
return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.IssueCommentReactions(repositoryId, number), null, AcceptHeaders.ReactionsPreview, options);
}
}
@@ -73,7 +73,7 @@ namespace Octokit.Reactive
public IObservable<Reaction> GetAll(long repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));
return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.IssueReactions(repositoryId, number), null, AcceptHeaders.ReactionsPreview, options);
}
@@ -61,7 +61,7 @@ namespace Octokit.Reactive
public IObservable<Migration> GetAll(string org, ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));
return _connection.GetAndFlattenAllPages<Migration>(ApiUrls.EnterpriseMigrations(org), null, AcceptHeaders.MigrationsApiPreview, options);
}
@@ -65,7 +65,7 @@ namespace Octokit.Reactive
public IObservable<Reaction> GetAll(long repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));
return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.PullRequestReviewCommentReaction(repositoryId, number), null, AcceptHeaders.ReactionsPreview, options);
}