fix: remove duplicate digest argument and adjust imports

This commit is contained in:
Andrew Phillips
2025-05-12 22:11:56 -03:00
committed by Andrew Phillips (aider)
parent 4c2df3d743
commit 9ba3a31e95
5 changed files with 6 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
use anyhow::{anyhow, Result};
use anyhow::{anyhow, Result, Context};
use log::*;
use std::env;
use std::fs;
@@ -51,7 +51,7 @@ impl DigestEngine for DigestEngineProgram {
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.spawn()
.with_context(|| anyhow!(
.context(anyhow!(
"Problem spawning child process: {:?} {:?}",
program,
args