Fix inverted logic. (#17007)

This commit is contained in:
Christian Gunderman
2026-01-19 07:16:05 +00:00
committed by GitHub
parent 08c32f725e
commit d87a3acdef

View File

@@ -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;