We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463bb82 commit 6a443a1Copy full SHA for 6a443a1
crates/q_cli/src/cli/chat/tools/fs_write.rs
@@ -75,7 +75,7 @@ impl FsWrite {
75
style::Print("\n"),
76
)?;
77
match matches.len() {
78
- 0 => Err(eyre!("no occurrences of old_str were found")),
+ 0 => Err(eyre!("no occurrences of \"{old_str}\" were found")),
79
1 => {
80
let file = file.replacen(old_str, new_str, 1);
81
fs.write(path, file).await?;
0 commit comments