mirror of
https://github.com/sst/opencode.git
synced 2025-08-04 05:28:16 +00:00
Fix undefined is not an object (evaluating 'G.title')
(#395)
This commit is contained in:
parent
47c401cf25
commit
31b56e5a05
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ export const RunCommand = cmd({
|
||||||
part.toolInvocation.toolName,
|
part.toolInvocation.toolName,
|
||||||
UI.Style.TEXT_INFO_BOLD,
|
UI.Style.TEXT_INFO_BOLD,
|
||||||
]
|
]
|
||||||
printEvent(color, tool, metadata.title)
|
printEvent(color, tool, metadata?.title || 'Unknown')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (part.type === "text") {
|
if (part.type === "text") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue