🕵 Check extension has enabled envShellEvent proposed API

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
This commit is contained in:
Babak K. Shandiz
2022-09-14 18:46:56 +04:30
parent d4a73d492b
commit 9b11b34bf1

View File

@@ -310,6 +310,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostTerminalService.getDefaultShell(false);
},
get onDidChangeShell() {
checkProposedApiEnabled(extension, 'envShellEvent');
return extHostTerminalService.onDidChangeShell;
},
get isTelemetryEnabled() {