Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Dec 11, 2023
1 parent fe6b39d commit 890f3ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/dolos/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ pub fn run(config: &super::Config, args: &Args) -> miette::Result<()> {

if !args.retain_snapshot {
info!("deleting downloaded snapshot");
std::fs::remove_dir_all(Path::new(&args.download_dir));

std::fs::remove_dir_all(Path::new(&args.download_dir))
.into_diagnostic()
.context("removing downloaded snapshot")?;
}

Ok(())
Expand Down

0 comments on commit 890f3ac

Please sign in to comment.