Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
ragavareddychalapala committed Jan 4, 2025
1 parent 8c60d62 commit d6a99a4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/ArtifactoryUploader/PackageUploadHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,6 @@ public static string GetCopyURL(ComponentsToArtifactory component)
url = $"{component.JfrogApi}{ApiConstant.CopyPackageApi}{component.SrcRepoPathWithFullName}" +
$"?to=/{component.DestRepoName}/{component.Path}/{component.PypiOrNpmCompName}";

// url = $"{component.JfrogApi}{ApiConstant.CopyPackageApi}{component.SrcRepoName}/{component.Name}/-/{component.PackageName}-{component.Version}" +
//$"{ApiConstant.NpmExtension}?to=/{component.DestRepoName}/{component.Name}/-/{component.PackageName}-{component.Version}{ApiConstant.NpmExtension}";
}
else if (component.ComponentType == "NUGET")
{
Expand Down Expand Up @@ -777,9 +775,7 @@ public static string GetMoveURL(ComponentsToArtifactory component)
{
url = $"{component.JfrogApi}{ApiConstant.MovePackageApi}{component.SrcRepoPathWithFullName}" +
$"?to=/{component.DestRepoName}/{component.Path}/{component.PypiOrNpmCompName}";

// url = $"{component.JfrogApi}{ApiConstant.MovePackageApi}{component.SrcRepoName}/{component.Name}/-/{component.PackageName}-{component.Version}" +
//$"{ApiConstant.NpmExtension}?to=/{component.DestRepoName}/{component.Name}/-/{component.PackageName}-{component.Version}{ApiConstant.NpmExtension}";

}
else if (component.ComponentType == "NUGET")
{
Expand Down Expand Up @@ -827,8 +823,7 @@ private static string GetPackagePath(ComponentsToArtifactory component, AqlResul
else
{
return $"{component.Name}/-";
}

}

case "CONAN" when aqlResult != null:
string path = aqlResult.Path;
Expand Down

0 comments on commit d6a99a4

Please sign in to comment.