add proposed api check

This commit is contained in:
Johannes Rieken
2019-05-16 09:52:39 -07:00
parent fa406d2dd1
commit 4d04ce30d5

View File

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