mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-17 12:56:41 +02:00
fix(sdk): unbreak typecheck on dev after v2 error widening (#28503)
This commit is contained in:
@@ -108,7 +108,7 @@ export async function warpWorkspaceSession(input: {
|
||||
})
|
||||
.catch(() => undefined)
|
||||
if (!result?.data) {
|
||||
if (result?.error?.name === "VcsApplyError") {
|
||||
if (result?.error && "name" in result.error && result.error.name === "VcsApplyError") {
|
||||
await DialogAlert.show(
|
||||
input.dialog,
|
||||
"Unable to Warp Session",
|
||||
|
||||
Reference in New Issue
Block a user