-
Notifications
You must be signed in to change notification settings - Fork 1
[SemVerRange] 複数条件Rangeの場合にプロパティが正しく設定されない #38
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
PS> [SemVer]::new('>1.2.0 || 1.0.0')
MinimumVersion : 1.2.0
MaximumVersion : 2147483647.2147483647.2147483647.2147483647
Expression : >1.2.0 || 1.0.0
IncludeMaximum : True
IncludeMinimum : False上記例だとExpressionは正しい表記だが、MinimumVersionやMaximumVersionが正しくない。
ただしIsSatisfiedを始めとする各種比較系メソッドは正しく動作する
PS> $r = [SemVer]::new('>1.2.0 || 1.0.0')
PS> $r.IsSatisfied('1.0.0')
TrueReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed