We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0800f0 commit 968d4edCopy full SHA for 968d4ed
src/integrations/terminal/ExecaTerminalProcess.ts
@@ -60,7 +60,7 @@ export class ExecaTerminalProcess extends BaseTerminalProcess {
60
} catch (error) {
61
if (error instanceof ExecaError) {
62
console.error(`[ExecaTerminalProcess] shell execution error: ${error.message}`)
63
- this.emit("shell_execution_complete", { exitCode: error.exitCode ?? 1, signalName: error.signal })
+ this.emit("shell_execution_complete", { exitCode: error.exitCode ?? 0, signalName: error.signal })
64
} else {
65
this.emit("shell_execution_complete", { exitCode: 1 })
66
}
0 commit comments