Commit 417bcda
committed
fix: use .versions | keys | last for deterministic latest MC version
The Fill v3 API returns .versions as an object (keys = MC version strings),
not an array. Using `keys | last` yields the lexicographically highest
(= newest) version reliably. Fixes broken `.versions | last` (was null on
object input) and the non-deterministic `keys_unsorted[0]` variant.1 parent ac03eed commit 417bcda
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments