Skip to content

Commit

Permalink
Remove redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkolev92 committed Oct 16, 2024
1 parent 8c7e4e5 commit 43933da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/NuGet.Core/NuGet.ProjectModel/PackageSpecOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public static void AddOrUpdateDependency(PackageSpec spec, PackageDependency dep

for (var i = 0; i < spec.Dependencies.Count; i++)
{
// existingDependency.LibraryRange.VersionRange = range;
var existingDependency = spec.Dependencies[i];

bool updateVersionOverride = spec.RestoreMetadata?.CentralPackageVersionsEnabled == true && !existingDependency.VersionCentrallyManaged && existingDependency.VersionOverride is not null;
Expand Down

0 comments on commit 43933da

Please sign in to comment.