Skip to content

Commit

Permalink
ensure countries.json files are all caps
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Nov 25, 2023
1 parent 137202d commit dc00eb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public async Task GenerateDatabase(IFileSink fileSink)

private static IEnumerable<string> CountriesWithFlag(IEnumerable<IGrouping<string, TorRelayDetails>> info, TorNodeFlags flag)
{
return info.Where(x => x.Any(y => y.Flags.HasFlag(flag))).Select(x => x.Key);
return info.Where(x => x.Any(y => y.Flags.HasFlag(flag))).Select(x => x.Key.ToUpperInvariant());
}
}

0 comments on commit dc00eb9

Please sign in to comment.