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); }), };