mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Update webview-ui/src/components/chat/CommandExecution.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
7799f0cabf
commit
9481c95bbe
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export const CommandExecution = ({ executionId, text, icon, title }: CommandExec
|
|||
|
||||
if (outputIndex !== -1) {
|
||||
// Text is split into command and output
|
||||
const cmd = text!.slice(0, outputIndex).trim()
|
||||
const cmd = (text ?? '').slice(0, outputIndex).trim()
|
||||
// Skip the newline and "Output:" text
|
||||
const afterSeparator = outputIndex + 1 + outputSeparator.length
|
||||
let startOfOutput = afterSeparator
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue