Roger-luo / Ion

Ion - a CLI toolbox for Julia developers

Home Page:https://rogerluo.dev/Ion/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ion why PackageName` panics

jlapeyre opened this issue · comments

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

This panic does not happen if, for example, if I replace >=1.9.0-beta with >=1.9.0 here

assert_julia_version(config, ">=1.9.0-beta")?;
format!("using Pkg; Pkg.why({})", PackageSpecList::new(matches))

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