Correctly handle when webview.reveal is called without any args

Fixes #48707
This commit is contained in:
Matt Bierner
2018-04-25 12:42:40 -07:00
parent 856c9cacd8
commit 6091135ee5
2 changed files with 5 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape, WebviewReviv
webview.html = value;
}
$reveal(handle: WebviewPanelHandle, column: Position | undefined): void {
$reveal(handle: WebviewPanelHandle, column: Position | null): void {
const webview = this.getWebview(handle);
if (webview.isDisposed()) {
return;