Skip to content

Commit

Permalink
Update stylecop analyzers to new version for collection initializers (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelweave authored Jan 6, 2024
1 parent ac93e95 commit 8460f17
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<PackageVersion Include="prometheus-net.AspNetCore" Version="8.0.1" />
<PackageVersion Include="prometheus-net.DotNetRuntime" Version="4.4.0" />
<PackageVersion Include="prometheus-net.SystemMetrics" Version="2.0.0" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.507" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
<PackageVersion Include="System.Collections.Immutable" Version="7.0.0" />
<PackageVersion Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
Expand Down
2 changes: 0 additions & 2 deletions tools/Importer/BearerTokenHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

namespace Microsoft.Health.Fhir.Importer;

#pragma warning disable SA1010 // Opening square brackets should be spaced correctly. Fixed https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/3745 but not available yet.

public class BearerTokenHandler : DelegatingHandler
{
private readonly Dictionary<string, AccessTokenCache> _accessTokenCaches = [];
Expand Down
2 changes: 0 additions & 2 deletions tools/Importer/Importer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ internal static class Importer
private static HttpClient httpClient = new();
private static DelegatingHandler handler;

#pragma warning disable SA1010 // Opening square brackets should be spaced correctly. Fixed https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/3745 but not available yet.

internal static void Run()
{
if (string.IsNullOrEmpty(Endpoints))
Expand Down

0 comments on commit 8460f17

Please sign in to comment.