hobofan / cargo-nono

Check your crate for (possible) no_std compatibility
Apache License 2.0
209 stars 12 forks source link

panics if there are no input files #66

Open crjeder opened 2 years ago

crjeder commented 2 years ago

if run in an empty directory it panics:


thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)', /home/cargo-nono-0.1.9/src/util.rs:19:45
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
´´´