mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 20:21:39 +03:00
fix(tui): fix type error for calling workspace.warp (#25801)
This commit is contained in:
committed by
GitHub
Unverified
parent
2740d398fa
commit
edd480f56b
@@ -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