Skip to content

Commit

Permalink
fix code check.
Browse files Browse the repository at this point in the history
Signed-off-by: borngraced <[email protected]>
  • Loading branch information
borngraced committed Nov 27, 2023
1 parent 29256ae commit 8993982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mm2src/komodefi_cli/src/cli_cmd_args/commands_mm2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ pub(crate) enum Mm2Commands {
Status,
#[command(about = "Get version of intermediary mm2 service")]
Version,
#[command(about = "Download latest available mm2 version and extract to bin folder for use.")]
#[command(about = "Download latest available mm2 binary version and extract to bin folder for use.")]
Download,
}
2 changes: 1 addition & 1 deletion mm2src/komodefi_cli/src/scenarios/download_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn extract_file_from_zip(zip_path: &std::path::Path, file_name: &str) -> Result<
}

let file_path = bin_dir.join(file_name);
let mut extracted_file = File::create(&file_path)?;
let mut extracted_file = File::create(file_path)?;

std::io::copy(&mut file, &mut extracted_file)?;

Expand Down

0 comments on commit 8993982

Please sign in to comment.