Skip to content

Commit

Permalink
style: threat warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nadirbad committed May 6, 2024
1 parent c4ce144 commit 47b90b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<AnalysisLevel>8-minimal</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<!-- Workaround for https://github.com/dotnet/roslyn/issues/41640 -->
Expand Down
2 changes: 0 additions & 2 deletions src/Api/ErrorController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Mvc;

namespace VerticalSliceArchitecture.Api;

public class ErrorController : ControllerBase
{
[Route("/error-development")]
Expand Down

0 comments on commit 47b90b1

Please sign in to comment.