-
Notifications
You must be signed in to change notification settings - Fork 94
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
Reversion to 2.3.8. #2125
Reversion to 2.3.8. #2125
Changes from 2 commits
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 |
---|---|---|
|
@@ -6,7 +6,9 @@ | |
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.Runtime.Serialization; | ||
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.
why are we seeing these changes? isn't our dotnet-format exclusion getting honored? we can certainly update the autogenerator code to make this fix. #Closed 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. probably when you opened / saved, it separated in groups. In reply to: 510438497 [](ancestors = 510438497) 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. |
||
|
||
using Microsoft.CodeAnalysis.Sarif.Readers; | ||
|
||
using Newtonsoft.Json; | ||
|
||
namespace Microsoft.CodeAnalysis.Sarif | ||
|
@@ -682,4 +684,4 @@ private void Init(Tool tool, IEnumerable<Invocation> invocations, Conversion con | |
} | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ public static class VersionConstants | |
public const string SchemaVersionAsPublishedToSchemaStoreOrg = "2.1.0-rtm.5"; | ||
public const string StableSarifVersion = "2.1.0"; | ||
} | ||
} | ||
} | ||
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. we should have a new line in the end. With dotnet-format, we are checking that as well Run dotnet-format --folder --check --exclude .\src\Sarif\Autogenerated\
Formatting code files in workspace 'D:\a\sarif-sdk\sarif-sdk'.
sarif-sdk\src\Sarif\VersionConstants.cs(11,2): Fix final newline.
Formatted code file 'D:\a\sarif-sdk\sarif-sdk\src\Sarif\VersionConstants.cs'.
Format complete in 5983ms.
``` #Closed 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 should be the following, I think. This will still work in the pipeline (where the bld and packages dirs don't exist) Run dotnet-format --folder --check --exclude .\src\Sarif\Autogenerated\ --exclude .\src\packages\ --exclude .\bld\ In reply to: 510433793 [](ancestors = 510433793) 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. no problem, i can create a new pr adding those exclusions. The point here is that we need to add a new line in the end for this file :) In reply to: 510439559 [](ancestors = 510439559,510433793) |
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.
Should we add the new grouping for autogenerated files? #Closed
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.
already fixed
In reply to: 510432670 [](ancestors = 510432670)