From 9b11b34bf1b4c2c1e484500a2b454fd2be8dd390 Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Wed, 14 Sep 2022 18:46:56 +0430 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=B5=20Check=20extension=20has=20enable?= =?UTF-8?q?d=20`envShellEvent`=20proposed=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Babak K. Shandiz --- src/vs/workbench/api/common/extHost.api.impl.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index cd6e15cbed9..66dc4868670 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -310,6 +310,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I return extHostTerminalService.getDefaultShell(false); }, get onDidChangeShell() { + checkProposedApiEnabled(extension, 'envShellEvent'); return extHostTerminalService.onDidChangeShell; }, get isTelemetryEnabled() {