fix: remove unused config parameter in mode functions
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -139,10 +139,8 @@ fn collect_item_meta(settings: &config::Settings) -> std::collections::HashMap<S
|
||||
}
|
||||
}
|
||||
|
||||
for item in settings.meta.iter() {
|
||||
let item = item.clone();
|
||||
item_meta.insert(item.key, item.value);
|
||||
}
|
||||
// Add any additional metadata from settings if needed
|
||||
// (currently there's no direct metadata in settings, but this could be extended)
|
||||
|
||||
item_meta
|
||||
}
|
||||
@@ -232,7 +230,6 @@ fn finalize_meta_plugins(
|
||||
pub fn mode_save(
|
||||
cmd: &mut Command,
|
||||
settings: &config::Settings,
|
||||
_config: &config::Settings,
|
||||
ids: &mut Vec<i64>,
|
||||
tags: &mut Vec<String>,
|
||||
conn: &mut rusqlite::Connection,
|
||||
|
||||
Reference in New Issue
Block a user