mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
Fix inverted logic. (#17007)
This commit is contained in:
committed by
GitHub
parent
cd5a2837b4
commit
be1efbacca
@@ -38,7 +38,8 @@ describe('git repo eval', () => {
|
||||
const args = JSON.parse(log.toolRequest.args);
|
||||
return (
|
||||
args.command &&
|
||||
!(args.command.includes('git') && args.command.includes('commit'))
|
||||
args.command.includes('git') &&
|
||||
args.command.includes('commit')
|
||||
);
|
||||
} catch {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user