mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
pass run method into tasks
don't reach into lib for it Original commit: elastic/kibana-plugin-helpers@d92d2e979a
This commit is contained in:
parent
b85a68df15
commit
f222c6e889
3 changed files with 3 additions and 5 deletions
|
@ -6,6 +6,6 @@ module.exports = function run(name) {
|
|||
// call the action function with the plugin, then all
|
||||
// renaining arguments from commander
|
||||
var plugin = pluginConfig();
|
||||
action.apply(null, [plugin].concat([].slice.apply(arguments)));
|
||||
action.apply(null, [plugin, run].concat([].slice.apply(arguments)));
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue