Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Commit

Permalink
[GH Idx] Remove redundant using
Browse files Browse the repository at this point in the history
  • Loading branch information
mogah committed Jun 24, 2019
1 parent bbc09fb commit 73c268a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
using NuGetGallery;
using Octokit;

namespace NuGet.Jobs.GitHubIndexer
{
Expand Down
2 changes: 1 addition & 1 deletion src/NuGet.Jobs.GitHubIndexer/Job.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Job : JsonConfigurationJob
private const string GitHubIndexerUserAgent = "NuGet-NuGet.Jobs-GitHubIndexer";
private const string GitHubSearcherConfigurationSectionName = "GitHubSearcher";

public override async Task Run()
public override async Task Run()
{
var searcher = _serviceProvider.GetRequiredService<IGitRepoSearcher>();
var repos = await searcher.GetPopularRepositories();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task GetMoreThanThousandResults(int totalCount, int minStars, int m
}

// Create a mock GitHub Search API that serves those results
Func <SearchRepositoriesRequest, Task<IReadOnlyList<RepositoryInformation>>> mockGitHubSearch =
Func<SearchRepositoriesRequest, Task<IReadOnlyList<RepositoryInformation>>> mockGitHubSearch =
req =>
{
//Stars are split as "min..max"
Expand Down

0 comments on commit 73c268a

Please sign in to comment.