Commit 1bdcb3a
fix: use SemVer for pkgx version comparison
`parseFloat("2.10")` evaluates to `2.1`, causing pkgm to silently
reject pkgx 2.10.x as below the minimum version (2.4). Use the
already-imported SemVer class for correct version comparison.
Fixes: pkgm install/uninstall/shim silently fail with exit code 1
when pkgx >= 2.10.0 is installed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4a1f44d commit 1bdcb3a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | | - | |
| 521 | + | |
| 522 | + | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| |||
0 commit comments