Panick when using relative pathname
ngirard opened this issue · comments
ngirard commented
Using Anchor v0.5.5 (precompiled binary) on Ubuntu 20.04.
Doing
echo Test > f
ambs -r -- 'Test' f
results in
thread 'finder' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/pipeline_finder.rs:133:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The behaviour is the same with ambr
.
Invoking both programs with ./f
instead of f
works fine.
Naoya Hatta commented
Thanks! I fixed it, and released v0.5.7.
ngirard commented
Great, thanks !