Skip to content

Commit 6f87bb0

Browse files
MalcolmnixonMalcolm Nixon
andauthored
Update dependencies and apply minor cleanups. (#46)
Co-authored-by: Malcolm Nixon <malcolm.nixon@elbitsystems-us.com>
1 parent 1e26229 commit 6f87bb0

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"demaconsulting.spdxtool": {
18-
"version": "2.0.0",
18+
"version": "2.1.0",
1919
"commands": [
2020
"spdx-tool"
2121
]

src/DemaConsulting.SpdxModel/DemaConsulting.SpdxModel.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
<PackageProjectUrl>https://github.com/demaconsulting/SpdxModel</PackageProjectUrl>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
<PackageReadmeFile>README.md</PackageReadmeFile>
11-
<PackageTags>spdx;sbom</PackageTags>
12-
<Description>SPDX Model Library</Description>
13-
<Copyright>Copyright DEMA Consulting</Copyright>
14-
<Title>SPDX Model Library</Title>
11+
<PackageTags>spdx;sbom</PackageTags>
12+
<Description>SPDX Model Library</Description>
13+
<Copyright>Copyright DEMA Consulting</Copyright>
14+
<Title>SPDX Model Library</Title>
1515
<Authors>DEMA Consulting</Authors>
16-
<Company>DEMA Consulting</Company>
17-
<Version>0.0.0</Version>
18-
<PackageId>DemaConsulting.SpdxModel</PackageId>
19-
<Product>DemaConsulting.SpdxModel</Product>
20-
<PackageIcon>Icon.png</PackageIcon>
16+
<Company>DEMA Consulting</Company>
17+
<Version>0.0.0</Version>
18+
<PackageId>DemaConsulting.SpdxModel</PackageId>
19+
<Product>DemaConsulting.SpdxModel</Product>
20+
<PackageIcon>Icon.png</PackageIcon>
2121
<IncludeSymbols>True</IncludeSymbols>
2222
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2323
<PublishRepositoryUrl>true</PublishRepositoryUrl>

src/DemaConsulting.SpdxModel/SpdxExternalReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public static SpdxExternalReference[] Enhance(SpdxExternalReference[] array, Spd
134134
}
135135

136136
// Return as array
137-
return list.ToArray();
137+
return [..list];
138138
}
139139

140140
/// <summary>

src/DemaConsulting.SpdxModel/Transform/SpdxRelationships.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static void Add(SpdxDocument document, SpdxRelationship relationship)
5757
{
5858
// Copy the new relationship
5959
existing = relationship.DeepCopy();
60-
document.Relationships = document.Relationships.Append(existing).ToArray();
60+
document.Relationships = [..document.Relationships.Append(existing)];
6161
}
6262
}
6363
}

test/DemaConsulting.SpdxModel.Tests/DemaConsulting.SpdxModel.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
</PackageReference>
2929
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
30-
<PackageReference Include="MSTest.TestAdapter" Version="3.6.0" />
31-
<PackageReference Include="MSTest.TestFramework" Version="3.6.0" />
30+
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
31+
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
3232
</ItemGroup>
3333

3434
<ItemGroup>

0 commit comments

Comments
 (0)