Skip to content

Commit d9b87fb

Browse files
committed
build: fail on any NU190x warnings
1 parent ac78221 commit d9b87fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OSLC4Net_SDK/Directory.Build.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<Nullable>enable</Nullable>
1818
<ImplicitUsings>enable</ImplicitUsings>
1919
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
20-
<!-- TODO: add 'nullable' -->
21-
<WarningsAsErrors>NU1903</WarningsAsErrors>
20+
<!-- fail on any NuGet vulnerability audit findings -->
21+
<WarningsAsErrors>NU1900;NU1901;NU1902;NU1903;NU1904</WarningsAsErrors>
2222
</PropertyGroup>
2323
</Project>

0 commit comments

Comments
 (0)