Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nkolev92 committed Mar 7, 2020
1 parent d85ae6c commit b781ad8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NuGet.Core/NuGet.Versioning/FloatRange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ public static bool TryParse(string versionString, out FloatRange range)
{
range = new FloatRange(NuGetVersionFloatBehavior.Major, new NuGetVersion(new Version(0, 0)));
}
else if (versionString.Length == 3
&& firstStarPosition == 0 && lastStarPosition == 2 && versionString[1] == '-')
else if (versionString.Equals("*-*"))
{
range = new FloatRange(NuGetVersionFloatBehavior.AbsoluteLatest, new NuGetVersion("0.0.0-0"), releasePrefix: string.Empty);
}
Expand Down

0 comments on commit b781ad8

Please sign in to comment.