From 21819ab9edf1fc7f24a8dfd4dccee532c827c438 Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 3 Jan 2017 09:48:23 +0100 Subject: [PATCH] Revert "pass on args when invoking an action" This reverts commit bc46e789ac57f327f409260fb8cc1f6e40e62a7b. --- src/vs/workbench/common/actionRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/common/actionRegistry.ts b/src/vs/workbench/common/actionRegistry.ts index 1e904a5ab78..fa3b8578ea4 100644 --- a/src/vs/workbench/common/actionRegistry.ts +++ b/src/vs/workbench/common/actionRegistry.ts @@ -175,7 +175,7 @@ export function triggerAndDisposeAction(instantitationService: IInstantiationSer // run action when workbench is created return partService.joinCreation().then(() => { try { - return TPromise.as(actionInstance.run(args)).then(() => { + return TPromise.as(actionInstance.run()).then(() => { actionInstance.dispose(); }, (err) => { actionInstance.dispose();