Commit 8f6ad97
authored
Never convert NU1901;NU1902;NU1903;NU1904 to Error (#32)
These error codes report vulnerable packages as a warning and because we convert warnings to errors for "Release" builds, they would subsequently fail a build. Therefore, we use the WarningsNotAsErrors property for these error codes as recommended here: https://devblogs.microsoft.com/nuget/nugetaudit-2-0-elevating-security-and-trust-in-package-management/1 parent 61b430a commit 8f6ad97
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments