diff --git a/src/exec/job.rs b/src/exec/job.rs index 19c8bb0..0cc70ad 100644 --- a/src/exec/job.rs +++ b/src/exec/job.rs @@ -5,8 +5,8 @@ use std::sync::{Arc, Mutex}; use crate::error::print_error; use crate::exit_codes::{merge_exitcodes, ExitCode}; use crate::walk::WorkerResult; -use crate::options::Options; use crate::filesystem::strip_current_dir; +use crate::config::Config; use super::CommandTemplate; @@ -19,7 +19,7 @@ pub fn job( out_perm: Arc>, show_filesystem_errors: bool, buffer_output: bool, - config: &Arc, + config: &Arc, ) -> ExitCode { let mut results: Vec = Vec::new(); loop { @@ -58,7 +58,7 @@ pub fn batch( cmd: &CommandTemplate, show_filesystem_errors: bool, buffer_output: bool, - config: &Arc, + config: &Arc, ) -> ExitCode { let paths = rx.iter().filter_map(|value| match value { WorkerResult::Entry(val) => Some(val),