cargo-readme
cargo-readme copied to clipboard
coveralls badge `branch` in URL query param
The coveralls badge has the branch
URL query parameters set to the fixed string branch
, instead of the user provided value for the branch attribute.
This is fixed in https://github.com/livioribeiro/cargo-readme/pull/68.
Current behavior:
For a badge configured like so:
$ tail -n1 Cargo.toml
coveralls = { repository = "owayss/huffman-encoding", branch = "main" }
It configures the badge as:
$ cargo readme |grep coveralls
[](https://coveralls.io/github/owayss/huffman-encoding?branch=main)
Expected behavior
The branch
URL query parameter should have the value provided for the branch attribute, that is, branch=main
instead of branch=branch
:
[](https://coveralls.io/github/owayss/huffman-encoding?branch=main)