Skip to content

Commit

Permalink
sonar qube fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityanarayanp committed Dec 7, 2023
1 parent 1dc3261 commit 3438847
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/LCT.SW360PackageCreator/CreatorHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,8 @@ public async Task<List<ComparisonBomData>> SetContentsForComparisonBOM(List<Comp
{
mapper.DownloadUrl = GetMavenDownloadUrl(mapper, item, releasesInfo);
}
else if (!string.IsNullOrEmpty(item.ReleaseExternalId) && item.ReleaseExternalId.Contains(Dataconstant.PurlCheck()["PYTHON"]))
{
mapper.DownloadUrl = mapper.SourceUrl;
}
else if (!string.IsNullOrEmpty(item.ReleaseExternalId) && item.ReleaseExternalId.Contains(Dataconstant.PurlCheck()["CONAN"]))
else if (!string.IsNullOrEmpty(item.ReleaseExternalId) &&
(item.ReleaseExternalId.Contains(Dataconstant.PurlCheck()["PYTHON"]) || item.ReleaseExternalId.Contains(Dataconstant.PurlCheck()["CONAN"]))
{
mapper.DownloadUrl = mapper.SourceUrl;
}
Expand Down

0 comments on commit 3438847

Please sign in to comment.