mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Fix inverted logic. (#17007)
This commit is contained in:
committed by
GitHub
parent
08c32f725e
commit
d87a3acdef
@@ -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