Update src/tools/runTerminalCommand.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
a2b3206c4a
commit
d21bd215fa
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export const runTerminalCommandTool: Tool = {
|
|||
telemetryService.recordPullRequestCreated();
|
||||
}
|
||||
|
||||
if (code !== 0 && stderr) {
|
||||
if (code !== 0) {
|
||||
reject(`Error (exit code ${code}): ${stderr}`);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue