fix nullable warning

This commit is contained in:
Caelan Sayler
2024-12-30 09:49:48 +00:00
committed by Caelan
parent e2bdf7899a
commit 7fb630543b
2 changed files with 1 additions and 3 deletions

View File

@@ -2,5 +2,5 @@
public interface IPlatformOptions : IOutputOptions
{
RID? TargetRuntime { get; set; }
RID TargetRuntime { get; set; }
}

View File

@@ -71,9 +71,7 @@ public class TrustedSigningTests
.ToList();
Assert.NotEmpty(files);
#pragma warning disable CA1416 // Validate platform compatibility, this test only executes on Windows
Assert.All(files, x => Assert.True(IsTrusted(x)));
#pragma warning restore CA1416 // Validate platform compatibility
}
private bool IsTrusted(string filePath)