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 e1a1981 commit 027c3c0Copy full SHA for 027c3c0
crates/chat-cli/src/cli/chat/tools/execute/mod.rs
@@ -113,6 +113,7 @@ impl ExecuteCommand {
113
|| arg.contains("-delete")
114
|| arg.contains("-ok") // includes -okdir
115
|| arg.contains("-fprint") // includes -fprint0 and -fprintf
116
+ || arg.contains("-fls")
117
}) =>
118
{
119
return true;
@@ -334,6 +335,7 @@ mod tests {
334
335
("find important-dir/ -exec rm {} \\;", true),
336
("find . -name '*.c' -execdir gcc -o '{}.out' '{}' \\;", true),
337
("find important-dir/ -delete", true),
338
+ ("find important-dir/ -fls /etc/passwd", true),
339
(
340
"echo y | find . -type f -maxdepth 1 -okdir open -a Calculator {} +",
341
true,
0 commit comments