🐛 handle next.value being undefined
This commit is contained in:
parent
2f67ded712
commit
7d00d13252
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export class VsCodeWebviewProtocol {
|
|||
respond(next.value);
|
||||
next = await response.next();
|
||||
}
|
||||
respond({ done: true, content: next.value.content });
|
||||
respond({ done: true, content: next.value?.content });
|
||||
} else {
|
||||
respond(response || {});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue