Skip to content

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ArtifactoryUploader/JfrogRepoUpdater.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static async Task<Bom> UpdateJfrogRepoPathForSucessfullyUploadedItems(Bom
2828
List<ComponentsToArtifactory> uploadedPackages = PackageUploadInformation.GetUploadePackageDetails(displayPackagesInfo);
2929

3030
// Get the details of all the dest repo names from jfrog at once
31-
List<string> destRepoNames = uploadedPackages.Select(x => x.DestRepoName).Distinct().ToList();
31+
List<string> destRepoNames = uploadedPackages?.Select(x => x.DestRepoName).Distinct().ToList() ?? new List<string>();
3232
List<AqlResult> jfrogPackagesListAql = await GetJfrogRepoInfoForAllTypePackages(destRepoNames);
3333

3434
// Update the repo path

0 commit comments

Comments
 (0)
Please sign in to comment.