Skip to content

Commit

Permalink
Remove redundant condition
Browse files Browse the repository at this point in the history
The minimum target is now `net6.0` so the pre-processor condition is redundant.
  • Loading branch information
martincostello committed Jun 20, 2024
1 parent 48b7132 commit e820e1a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/AwsLambdaTestServer/LambdaTestServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,7 @@ private void ThrowIfDisposed()
#endif
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.MemberNotNull(nameof(_server))]
#endif
private void ThrowIfNotStarted()
{
if (_server is null)
Expand Down

0 comments on commit e820e1a

Please sign in to comment.