Skip to content

Commit 5472d5e

Browse files
committed
Code style changes
Signed-off-by: James Thompson <[email protected]>
1 parent d06386a commit 5472d5e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

CycloneDX/Services/NugetV3Service.cs

+11-11
Original file line numberDiff line numberDiff line change
@@ -330,50 +330,50 @@ private static Component SetupComponentProperties(Component component, NuspecMod
330330
{
331331
releaseNoteType = "patch";
332332
}
333-
component.ReleaseNotes = new ReleaseNotes()
333+
component.ReleaseNotes = new ReleaseNotes
334334
{
335335
Type = releaseNoteType,
336336
Title = version.ToString(),
337337
Tags = nuspecModel.nuspecReader.GetTags().Split(",").ToList(),
338-
Notes = new List<Note>()
338+
Notes = new List<Note>
339339
{
340-
new Note()
340+
new Note
341341
{
342-
Text = new AttachedText(){
342+
Text = new AttachedText{
343343
Content = nuspecModel.nuspecReader.GetReleaseNotes()
344344
}
345345
}
346346
}
347347
};
348348

349-
var properties = new List<Property>()
349+
var properties = new List<Property>
350350
{
351-
new Property()
351+
new Property
352352
{
353353
Name = "language",
354354
Value = nuspecModel.nuspecReader.GetLanguage()
355355
},
356-
new Property()
356+
new Property
357357
{
358358
Name = "minclientVersion",
359359
Value = nuspecModel.nuspecReader.GetMinClientVersion().Version.ToString(),
360360
},
361-
new Property()
361+
new Property
362362
{
363363
Name = "gitBranch",
364364
Value = nuspecModel.nuspecReader.GetRepositoryMetadata().Branch
365365
},
366-
new Property()
366+
new Property
367367
{
368368
Name = "gitCommit",
369369
Value = nuspecModel.nuspecReader.GetRepositoryMetadata().Commit
370370
},
371-
new Property()
371+
new Property
372372
{
373373
Name = "gitRepositoryType",
374374
Value = nuspecModel.nuspecReader.GetRepositoryMetadata().Type
375375
},
376-
new Property()
376+
new Property
377377
{
378378
Name = "licenceAcceptanceRequired",
379379
Value = nuspecModel.nuspecReader.GetRequireLicenseAcceptance().ToString()

0 commit comments

Comments
 (0)