Browse Source

Fix another indexing issue

pull/21/head
Steve Cook 2 years ago
parent
commit
11855472df
  1. 2
      src/main.rs

2
src/main.rs

@ -27,7 +27,7 @@ fn main() {
{ {
format.to_string() format.to_string()
} else { } else {
arg.to_string() input.cargo_opts.remove(pos).to_string()
}; };
if !format.starts_with("json") { if !format.starts_with("json") {
eprintln!("error: non-JSON `message-format` is not supported"); eprintln!("error: non-JSON `message-format` is not supported");

Loading…
Cancel
Save