Commit 8b31ebc
committed
Add explicit property for defaulted versions
Currently there is no way to detect whether a version was defaulted.
The current default value ('0.0.0') is a valid value for the versions
list and the appropriate default comparator for that should be `==`.
However such a version is (mis-)detected as being the default and the
resulting default comparator is `>=` which is less restrictive than intended.
Fix by introducing a property set only for the default version.1 parent ed789e7 commit 8b31ebc
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
77 | | - | |
| 86 | + | |
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
| |||
256 | 265 | | |
257 | 266 | | |
258 | 267 | | |
259 | | - | |
| 268 | + | |
260 | 269 | | |
261 | 270 | | |
262 | 271 | | |
| |||
0 commit comments