From 4d04ce30d5ac2d733c280966e21b7a1862d90517 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Thu, 16 May 2019 09:52:39 -0700 Subject: [PATCH] add proposed api check --- src/vs/workbench/api/node/extHost.api.impl.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/api/node/extHost.api.impl.ts b/src/vs/workbench/api/node/extHost.api.impl.ts index 4013345e06a34..ef3d3504f9184 100644 --- a/src/vs/workbench/api/node/extHost.api.impl.ts +++ b/src/vs/workbench/api/node/extHost.api.impl.ts @@ -232,6 +232,7 @@ export function createApiFactory( return extHostCommands.getCommands(filterInternal); }, onDidExecuteCommand: proposedApiFunction(extension, (listener, thisArgs?, disposables?) => { + checkProposedApiEnabled(extension); return extHostCommands.onDidExecuteCommand(listener, thisArgs, disposables); }), };