fix: use MetaPluginProgram::new constructor for private fields
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -190,13 +190,7 @@ fn build_meta_plugin_table() -> Table {
|
||||
for meta_plugin_type in MetaPluginType::iter() {
|
||||
let meta_plugin_program: MetaPluginProgram = match &META_PLUGIN_PROGRAMS[meta_plugin_type.clone()] {
|
||||
Some(meta_plugin_program) => meta_plugin_program.clone(),
|
||||
None => MetaPluginProgram {
|
||||
program: "".to_string(),
|
||||
args: Vec::new(),
|
||||
supported: true,
|
||||
meta_name: "".to_string(),
|
||||
is_default: false,
|
||||
},
|
||||
None => MetaPluginProgram::new("", vec![], "".to_string(), false),
|
||||
};
|
||||
|
||||
let is_default = meta_plugin_type == default_type;
|
||||
|
||||
Reference in New Issue
Block a user