mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 05:35:15 +00:00
fix(sdk): unbreak typecheck on dev after v2 error widening (#28503)
This commit is contained in:
parent
0e118d1961
commit
ba803dd89a
3 changed files with 20 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue