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 5, 2022
1 parent 7515109 commit 543d66f
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 543d66f

Please sign in to comment.