Spurious "invalid key" warning/error when running cargo install --git https://github.com/sharkdp/bat
#3144
Labels
bug
Something isn't working
It has been a while since the latest release, so I tried installing from git. This works, but it produces a spurious "invalid key" error:
This error is actually ignored, so it's more of a warning, but because it said "error", I was pretty confused by it.
It's not visible in my copy-pasted output, but the
Cargo.toml
that it complains about has ANSI sequences in it, so it makes sense that it can't be parsed. However, I'm not sure why cargo tries to parse it in the first place.The text was updated successfully, but these errors were encountered: