diff options
| author | Mike Wallio <[email protected]> | 2025-06-25 19:40:09 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-25 19:40:09 -0400 |
| commit | db24bf87c01d3fff2a9594e55e9fab0d9ef52cfe (patch) | |
| tree | f0491d775e1bbd39e0a3c4ae98e94a5e00ec5005 | |
| parent | f4c0d2d2fdb1e4c23ba9166e723f96a33a4bfb4c (diff) | |
| download | opencode-db24bf87c01d3fff2a9594e55e9fab0d9ef52cfe.tar.gz opencode-db24bf87c01d3fff2a9594e55e9fab0d9ef52cfe.zip | |
Fix `undefined is not an object (evaluating 'G.title')` (#395)
| -rw-r--r-- | packages/opencode/src/cli/cmd/run.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/cli/cmd/run.ts b/packages/opencode/src/cli/cmd/run.ts index 526785103..c9ce3d4a2 100644 --- a/packages/opencode/src/cli/cmd/run.ts +++ b/packages/opencode/src/cli/cmd/run.ts @@ -134,7 +134,7 @@ export const RunCommand = cmd({ part.toolInvocation.toolName, UI.Style.TEXT_INFO_BOLD, ] - printEvent(color, tool, metadata.title) + printEvent(color, tool, metadata?.title || 'Unknown') } if (part.type === "text") { |
