mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Rm the duplicate debug!
in main.rs:214
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
74a6e137be
commit
c5a2a89361
1 changed files with 1 additions and 4 deletions
|
@ -211,10 +211,7 @@ async fn entry() -> Result<()> {
|
|||
// TODO: work out which of these to do based on `opts.name`
|
||||
// TODO: support git-based fetches (whole repo name rather than just crate name)
|
||||
let manifest = match opts.manifest_path.clone() {
|
||||
Some(manifest_path) => {
|
||||
debug!("Reading manifest: {}", manifest_path.display());
|
||||
load_manifest_path(manifest_path.join("Cargo.toml"))?
|
||||
}
|
||||
Some(manifest_path) => load_manifest_path(manifest_path.join("Cargo.toml"))?,
|
||||
None => fetch_crate_cratesio(&opts.name, &opts.version).await?,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue