fix: resolve compilation errors by standardizing filter signatures and fixing ownership issues
Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
This commit is contained in:
@@ -83,7 +83,7 @@ impl MetaPluginExec {
|
||||
|
||||
// Set default output
|
||||
let default_outputs = &[meta_name.as_str()];
|
||||
base.initialize_plugin(default_outputs, _options, outputs);
|
||||
base.initialize_plugin(default_outputs, &_options, &outputs);
|
||||
|
||||
MetaPluginExec {
|
||||
program: program.to_string(),
|
||||
@@ -128,7 +128,7 @@ impl MetaPluginExec {
|
||||
|
||||
match cmd.spawn() {
|
||||
Ok(child) => {
|
||||
let stdin = child.stdin.unwrap();
|
||||
let stdin = child.stdin.take().unwrap();
|
||||
self.writer = Some(Box::new(stdin));
|
||||
self.process = Some(child);
|
||||
debug!("META: Exec plugin: started process for '{}'", self.program);
|
||||
@@ -184,7 +184,7 @@ impl MetaPlugin for MetaPluginExec {
|
||||
drop(self.writer.take());
|
||||
|
||||
// Wait for process to complete and capture output
|
||||
if let Some(mut child) = self.process.take() {
|
||||
if let Some(child) = self.process.take() {
|
||||
match child.wait_with_output() {
|
||||
Ok(output) => {
|
||||
if output.status.success() {
|
||||
|
||||
Reference in New Issue
Block a user