From 1bafcbe022d5b6dea8e668dadd8dae4759cd86cf Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Mon, 20 Jan 2020 15:09:12 +0100 Subject: [PATCH] Add proposed api check to new tunnels api --- src/vs/workbench/api/common/extHost.api.impl.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 76aa93aab1c..97180bb9611 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -764,9 +764,11 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I return extHostTunnelService.openTunnel(forward); }, get tunnels() { + checkProposedApiEnabled(extension); return extHostTunnelService.getTunnels(); }, onDidTunnelsChange: (listener, thisArg?, disposables?) => { + checkProposedApiEnabled(extension); return extHostTunnelService.onDidTunnelsChange(listener, thisArg, disposables); } };