Skip to content

Commit

Permalink
add proposed api check
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 16, 2019
1 parent fa406d2 commit 4d04ce3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/workbench/api/node/extHost.api.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}),
};
Expand Down

0 comments on commit 4d04ce3

Please sign in to comment.