mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
pass on args when invoking an action
This commit is contained in:
@@ -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()).then(() => {
|
||||
return TPromise.as(actionInstance.run(args)).then(() => {
|
||||
actionInstance.dispose();
|
||||
}, (err) => {
|
||||
actionInstance.dispose();
|
||||
|
||||
Reference in New Issue
Block a user