onClickCommand -> clickCommand

This commit is contained in:
Pine Wu
2016-10-13 10:53:22 -07:00
parent b8ce9ad768
commit 668aa6556b
4 changed files with 6 additions and 6 deletions

View File

@@ -83,9 +83,9 @@ export class ExtHostTreeExplorers extends ExtHostTreeExplorersShape {
throw new Error(`no TreeContentProvider registered with id '${providerId}'`);
}
if (mainThreadNode.onClickCommand) {
if (mainThreadNode.clickCommand) {
const externalNode = this._externalNodeMaps[providerId][mainThreadNode.id];
return TPromise.wrap(this.commands.executeCommand(mainThreadNode.onClickCommand, externalNode).then(() => {
return TPromise.wrap(this.commands.executeCommand(mainThreadNode.clickCommand, externalNode).then(() => {
return null;
}));
}