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:
Andrew Phillips
2025-08-16 12:11:31 -03:00
parent 3f13e490b3
commit 5c66ac3d8a
9 changed files with 40 additions and 84 deletions

View File

@@ -15,7 +15,6 @@ use rusqlite::Connection;
pub fn mode_update(
cmd: &mut Command,
settings: &config::Settings,
_config: &config::Settings,
ids: &mut Vec<i64>,
tags: &mut Vec<String>,
conn: &mut Connection,
@@ -117,9 +116,6 @@ pub fn mode_update(
}
}
// Meta data is now in args.item.meta, not settings
// This functionality seems to have been moved elsewhere or removed
// Commit the transaction
tx.commit()?;