Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA Tool Sonar issue fixes #254

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

MalavikaKrishnan100
Copy link
Collaborator

@MalavikaKrishnan100 MalavikaKrishnan100 commented Feb 24, 2025

Improving the SonarQube issues to achieve an "A" rating in Reliability, Security, Security Hotspot, and Maintainability
image

@adityanarayanp adityanarayanp added Importance Low Minor Impact Refactoring Improving code structure, readability, and maintainability without changing functionality labels Feb 24, 2025
@adityanarayanp adityanarayanp added this to the 8.0.0 milestone Feb 24, 2025
@@ -28,7 +28,7 @@ public static async Task<Bom> UpdateJfrogRepoPathForSucessfullyUploadedItems(Bom
List<ComponentsToArtifactory> uploadedPackages = PackageUploadInformation.GetUploadePackageDetails(displayPackagesInfo);

// Get the details of all the dest repo names from jfrog at once
List<string> destRepoNames = uploadedPackages.Select(x => x.DestRepoName)?.Distinct()?.ToList() ?? new List<string>();
List<string> destRepoNames = uploadedPackages.Select(x => x.DestRepoName).Distinct().ToList();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if this empty or null and not passed, has it been tested already ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Importance Low Minor Impact Refactoring Improving code structure, readability, and maintainability without changing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants