File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >net6.0;net7.0;net8.0</TargetFrameworks >
5
+ <TargetFrameworks >net6.0;net7.0;net8.0;net9.0 </TargetFrameworks >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
<Nullable >enable</Nullable >
8
8
<PackAsTool >true</PackAsTool >
25
25
26
26
<ItemGroup >
27
27
<PackageReference Include =" Microsoft.Extensions.FileSystemGlobbing" Version =" 8.0.0" />
28
+ <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
28
29
<PackageReference Include =" PolySharp" Version =" 1.14.1" >
29
30
<PrivateAssets >all</PrivateAssets >
30
31
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
31
32
</PackageReference >
32
- <PackageReference Include =" Sarif.Sdk" Version =" 4.4.0 " />
33
- <PackageReference Include =" Serilog" Version =" 3 .1.1 " />
34
- <PackageReference Include =" Serilog.Sinks.Console" Version =" 5 .0.1 " />
33
+ <PackageReference Include =" Sarif.Sdk" Version =" 4.5.4 " />
34
+ <PackageReference Include =" Serilog" Version =" 4 .1.0 " />
35
+ <PackageReference Include =" Serilog.Sinks.Console" Version =" 6 .0.0 " />
35
36
<PackageReference Include =" System.CommandLine" Version =" 2.0.0-beta4.22272.1" />
36
37
</ItemGroup >
37
38
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ public List<CodeQuality> Convert()
20
20
21
21
var log = JsonConvert . DeserializeObject < SarifLogVersionOne > ( logContents , settings ) ;
22
22
23
- var results = log . Runs
23
+ var results = log ? . Runs
24
24
. SelectMany ( x => x . Results )
25
- . Where ( r => r . SuppressionStates == SuppressionStatesVersionOne . None ) ;
25
+ . Where ( r => r . SuppressionStates == SuppressionStatesVersionOne . None ) ?? [ ] ;
26
26
27
27
var cqrs = new List < CodeQuality > ( ) ;
28
28
foreach ( var result in results )
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net6.0;net7.0;net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net6.0;net7.0;net8.0;net9.0 </TargetFrameworks >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
6
<Nullable >enable</Nullable >
7
7
8
8
<IsPackable >false</IsPackable >
9
9
</PropertyGroup >
10
10
11
11
<ItemGroup >
12
- <PackageReference Include =" FluentAssertions" Version =" 6.12.0 " />
13
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.8.0 " />
14
- <PackageReference Include =" xunit" Version =" 2.6.1 " />
15
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.5.3 " >
12
+ <PackageReference Include =" FluentAssertions" Version =" 6.12.2 " />
13
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.1 " />
14
+ <PackageReference Include =" xunit" Version =" 2.9.2 " />
15
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2 " >
16
16
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
17
17
<PrivateAssets >all</PrivateAssets >
18
18
</PackageReference >
19
- <PackageReference Include =" coverlet.collector" Version =" 6.0.0 " >
19
+ <PackageReference Include =" coverlet.collector" Version =" 6.0.2 " >
20
20
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
21
21
<PrivateAssets >all</PrivateAssets >
22
22
</PackageReference >
You can’t perform that action at this time.
0 commit comments