mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
onClickCommand -> clickCommand
This commit is contained in:
@@ -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;
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user