Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
without integration
Browse files Browse the repository at this point in the history
  • Loading branch information
kjuulh committed Jan 27, 2023
1 parent 078e2d9 commit b6186aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ impl Cli {
let matches = self.cmd.get_matches_from(args);

match matches.subcommand() {
Some(("generate", args)) => Ok(()),
Some(("generate", _args)) => Ok(()),
_ => eyre::bail!("command missing"),
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ impl Downloader {
Ok(cli_bin_path)
}

fn download(&self, path: PathBuf) -> eyre::Result<PathBuf> {
fn download(&self, _path: PathBuf) -> eyre::Result<PathBuf> {
let expected_checksum = self.expected_checksum()?;

let (actual_hash, tempbin) = self.extract_cli_archive()?;
let (actual_hash, _tempbin) = self.extract_cli_archive()?;

if expected_checksum != actual_hash {
eyre::bail!("downloaded CLI binary checksum doesn't match checksum from checksums.txt")
Expand Down
18 changes: 0 additions & 18 deletions tests/integration.rs

This file was deleted.

0 comments on commit b6186aa

Please sign in to comment.