mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 15:40:57 -07:00
Update shell.ts
This commit is contained in:
@@ -363,6 +363,7 @@ export class ShellToolInvocation extends BaseToolInvocation<
|
||||
this.params.command,
|
||||
);
|
||||
parts.push(`<error><![CDATA[${finalError}]]></error>`);
|
||||
}
|
||||
|
||||
if (result.exitCode !== null) {
|
||||
parts.push(`<exit_code>${result.exitCode}</exit_code>`);
|
||||
|
||||
Reference in New Issue
Block a user