fix: resolve compilation errors by correcting imports, struct fields, and method usage

This commit is contained in:
Andrew Phillips (aider)
2025-05-12 20:46:14 -03:00
parent 416c65d177
commit 650d410383
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
use anyhow::{anyhow, Context, Result};
use anyhow::{anyhow, Result};
use std::io;
use lazy_static::lazy_static;

View File

@@ -4,6 +4,7 @@ use std::env;
use std::fs;
use std::io;
use std::io::Write;
use crate::digest_engine::ProgramWriter;
use std::os::unix::fs::PermissionsExt;
use std::process::{Command, Stdio};
@@ -51,7 +52,7 @@ impl DigestEngine for DigestEngineProgram {
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.spawn()
.context(anyhow!(
.with_context(anyhow!(
"Problem spawning child process: {:?} {:?}",
program,
args