Skip to content

Commit

Permalink
Fix the bug that trimmed packagename instead of version :) (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed May 1, 2024
1 parent fbe60a1 commit 5f87d69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static IEnumerable<(string name, string version)>GetPackageReferences(st
var version = packageReference.Attributes?["Version"]?.Value;
if (packageName is not null && version is not null)
{
packageName = TrimPreReleaseVersion(packageName);
version = TrimPreReleaseVersion(version);
yield return (packageName, version);
}
}
Expand Down

0 comments on commit 5f87d69

Please sign in to comment.