Skip to content

Commit

Permalink
updated requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ragavareddychalapala committed Feb 6, 2025
1 parent 50e50bb commit 3627235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LCT.SW360PackageCreator/CreatorValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public static async Task TriggerFossologyValidation(CommonAppSettings appSetting
if (releaseResponse != null)
{
validRelease = releaseResponse?.Embedded?.Sw360releases?
.FirstOrDefault(release => release.ClearingState == "APPROVED" &&
release.AllReleasesEmbedded?.Sw360attachments != null &&
.FirstOrDefault(release => release?.ClearingState == "APPROVED" &&
release?.AllReleasesEmbedded?.Sw360attachments != null &&
release.AllReleasesEmbedded.Sw360attachments.Any(attachments => attachments.Count != 0));

if (validRelease != null)
Expand Down

0 comments on commit 3627235

Please sign in to comment.