mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
fix(core): improve shell command with redirection detection (#15683)
This commit is contained in:
@@ -152,7 +152,6 @@ describe('ShellToolInvocation Policy Update', () => {
|
||||
const invocation = new ShellToolInvocation(
|
||||
mockConfig,
|
||||
{ command: 'git status && npm test' },
|
||||
new Set(),
|
||||
mockMessageBus,
|
||||
'run_shell_command',
|
||||
'Shell',
|
||||
@@ -174,7 +173,6 @@ describe('ShellToolInvocation Policy Update', () => {
|
||||
const invocation = new ShellToolInvocation(
|
||||
mockConfig,
|
||||
{ command: 'ls -la /tmp' },
|
||||
new Set(),
|
||||
mockMessageBus,
|
||||
'run_shell_command',
|
||||
'Shell',
|
||||
|
||||
Reference in New Issue
Block a user