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 462df07 commit 3659236Copy full SHA for 3659236
packages/core/src/codewhispererChat/tools/executeBash.ts
@@ -232,6 +232,7 @@ export class ExecuteBash {
232
const stderrBuffer: string[] = []
233
234
let firstChunk = true
235
+ let firstStderrChunk = true
236
const childProcessOptions: ChildProcessOptions = {
237
spawnOptions: {
238
cwd: this.workingDirectory,
@@ -244,7 +245,8 @@ export class ExecuteBash {
244
245
firstChunk = false
246
},
247
onStderr: (chunk: string) => {
- ExecuteBash.handleChunk(chunk, stderrBuffer, updates)
248
+ ExecuteBash.handleChunk(firstStderrChunk ? '```console\n' + chunk : chunk, stderrBuffer, updates)
249
+ firstStderrChunk = false
250
251
}
252
0 commit comments