Skip to content

Commit f7ed6bd

Browse files
committed
Fix clippy
1 parent 4ea010a commit f7ed6bd

File tree

1 file changed

+1
-1
lines changed
  • crates/chat-cli/src/cli/agent

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/agent/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ impl Agents {
742742

743743
// Add rules pattern using dynamic path resolution
744744
if let Ok(rules_dir) = resolver.workspace().rules_dir() {
745-
let rules_pattern = format!(paths::workspace::RULES_PATTERN, rules_dir.display());
745+
let rules_pattern = paths::workspace::RULES_PATTERN.replace("{}", &rules_dir.display().to_string());
746746
agent.resources.push(rules_pattern.into());
747747
}
748748

0 commit comments

Comments
 (0)