Skip to content

Commit

Permalink
condition changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ragavareddychalapala committed Aug 28, 2024
1 parent 3013f98 commit e761020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LCT.PackageIdentifier/CycloneBomProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static Bom SetMetadataInComparisonBOM(Bom bom,
{
Name = appSettings.SW360ProjectName,
Version = projectReleases.Version,
Type = appSettings.ProjectType.ToUpperInvariant().Contains("DEBIAN",System.StringComparison.OrdinalIgnoreCase) || appSettings.ProjectType.ToUpperInvariant().Contains("ALPINE", System.StringComparison.OrdinalIgnoreCase) ? Component.Classification.Container : Component.Classification.Application
Type = appSettings.ProjectType.ToUpperInvariant().Equals("DEBIAN") || appSettings.ProjectType.ToUpperInvariant().Equals("ALPINE") ? Component.Classification.Container : Component.Classification.Application
};
metadata.Component = component;

Expand Down

0 comments on commit e761020

Please sign in to comment.