Skip to content

Commit

Permalink
Fix WebviewElement::streamToBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 committed Feb 7, 2022
1 parent fa00b83 commit 3788b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/webview/browser/webviewElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ export class WebviewElement extends Disposable implements IWebview, WebviewFindD

protected async streamToBuffer(stream: VSBufferReadableStream): Promise<ArrayBufferLike> {
const vsBuffer = await streamToBuffer(stream);
return vsBuffer.buffer;
return vsBuffer.buffer.buffer;
}

private async localLocalhost(id: string, origin: string) {
Expand Down

0 comments on commit 3788b62

Please sign in to comment.