Roger-luo / Ion

Ion - a CLI toolbox for Julia developers
https://rogerluo.dev/Ion/
MIT License
64 stars 3 forks source link

`ion why PackageName` panics #51

Open jlapeyre opened 1 year ago

jlapeyre commented 1 year ago

ion 0.1.21

> ion why Revise
thread 'main' panicked at 'Invalid version spec: Invalid version range: >=1.9.0-beta',
  /home/username/github/Roger-luo/Ion/src/ion/utils/julia.rs:161:60
jlapeyre commented 6 months ago

This panic does not happen if, for example, if I replace >=1.9.0-beta with >=1.9.0 here https://github.com/Roger-luo/Ion/blob/a9e7e96288bf24ed245de97aebaa2c5058e4572a/src/bin/ion/commands/pkg/why.rs#L16-L17

Roger-luo commented 6 months ago

ah sry I haven't got time working on this, but the binary does work if you know how to workaround ;-)