mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -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);
|
const args = JSON.parse(log.toolRequest.args);
|
||||||
return (
|
return (
|
||||||
args.command &&
|
args.command &&
|
||||||
!(args.command.includes('git') && args.command.includes('commit'))
|
args.command.includes('git') &&
|
||||||
|
args.command.includes('commit')
|
||||||
);
|
);
|
||||||
} catch {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user