mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-15 00:52:35 +00:00
fix(tui): fix type error for calling workspace.warp (#25801)
This commit is contained in:
@@ -77,7 +77,7 @@ export async function warpWorkspaceSession(input: {
|
||||
}): Promise<boolean> {
|
||||
const result = await input.sdk.client.experimental.workspace
|
||||
.warp({
|
||||
id: input.workspaceID,
|
||||
id: input.workspaceID ?? undefined,
|
||||
sessionID: input.sessionID,
|
||||
})
|
||||
.catch(() => undefined)
|
||||
|
||||
Reference in New Issue
Block a user