-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable NuGet audit #75049
base: main
Are you sure you want to change the base?
Enable NuGet audit #75049
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,14 @@ | |
<!-- TODO: https://github.com/dotnet/roslyn/issues/71667 --> | ||
<NoWarn>$(NoWarn);NU1507</NoWarn> | ||
|
||
<!-- | ||
Do not error on NuGet audit warnings. These are warnings that are introduced asynchronously as | ||
new vulnerabilities are discovered. Having these as errors means that CI would pass on on job, | ||
and then potentially fail on the next. This is meant to be an early warning system, not a | ||
random CI failure generator. | ||
jaredpar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
--> | ||
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like this doesn't work, CI is failing with NU1903 :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes I know. It's quite frustrating. Trying to understand why that is happening. |
||
|
||
<CommonExtensionInstallationRoot>CommonExtensions</CommonExtensionInstallationRoot> | ||
<LanguageServicesExtensionInstallationFolder>Microsoft\VBCSharp\LanguageServices</LanguageServicesExtensionInstallationFolder> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,7 +163,7 @@ public static ImmutableArray<byte> HexToByte(ReadOnlySpan<char> input) | |
|
||
return ImmutableCollectionsMarshal.AsImmutableArray(bytes); | ||
|
||
byte parseByte(ReadOnlySpan<char> input, NumberStyles numberStyle) | ||
static byte parseByte(ReadOnlySpan<char> input, NumberStyles numberStyle) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have any objection, but this change (and the one in Silverlight.cs) are unexpected in this PR. Just want to confirm these were intentional There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was intentional. It's a follow up comment from a previous PR that I forgot to merge. |
||
{ | ||
#if NET | ||
return byte.Parse(input, numberStyle); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: on on