Skip to content
Prev Previous commit
Next Next commit
Fixed casing in AotHelper checks
  • Loading branch information
jamescrosswell committed Jul 8, 2025
commit 9e6e1734e8ec573ea74d661a8367c6b39e5823e6
4 changes: 2 additions & 2 deletions src/Sentry/Internal/AotHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ static AotHelper()
[UnconditionalSuppressMessage("Trimming", "IL2026: RequiresUnreferencedCode", Justification = AvoidAtRuntime)]
private static bool CheckIsTrimmed()
{
if (TryGetBoolean("publishtrimmed", out var trimmed))
if (TryGetBoolean("PublishTrimmed", out var trimmed))
{
return trimmed;
}

if (TryGetBoolean("publishaot", out var aot))
if (TryGetBoolean("PublishAot", out var aot))
{
return aot;
}
Expand Down