cargo-binstall/crates/bin/src
Jiahao XU d76a40bf7d
Rm unnecessary warning msg "Failed to read git credential file" (#1479)
* Rm unnecessary warning msg "Failed to read git credential file"

Fixed #1476

If `gh auth token` executed successfully and binstall obtained a gh
token from it, then there's no reason to issue any warning msg.

Only when binstall cannot read from `.git-credential` and
`gh auth token` failed does binstall need to issue warning.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix clippy warning

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-08 22:06:32 +00:00
..
args.rs Initial signing support (#1345) 2023-09-23 04:02:56 +00:00
bin_util.rs Refactor to reduce compilation time (#1284) 2023-08-12 14:25:41 +00:00
entry.rs Rm unnecessary warning msg "Failed to read git credential file" (#1479) 2023-11-08 22:06:32 +00:00
gh_token.rs Rm unnecessary warning msg "Failed to read git credential file" (#1479) 2023-11-08 22:06:32 +00:00
git_credentials.rs Rm unnecessary warning msg "Failed to read git credential file" (#1479) 2023-11-08 22:06:32 +00:00
install_path.rs Support --registry and more options from .cargo/config.toml (#1195) 2023-07-10 03:37:41 +00:00
lib.rs Fix GitHub token auto discovery (#1335) 2023-09-01 01:14:59 +00:00
logging.rs Investigate incorrect target detection (#1376) 2023-09-23 10:45:44 +00:00
main.rs Refactor cargo-binstall (#1302) 2023-08-18 01:59:48 +00:00
main_impl.rs Refactor cargo-binstall (#1302) 2023-08-18 01:59:48 +00:00
signal.rs Refactor to reduce compilation time (#1284) 2023-08-12 14:25:41 +00:00
ui.rs Fix panic in ui::confirm on I/O error (#576) 2022-11-29 05:53:45 +00:00