return the result of running the action

Original commit: elastic/kibana-plugin-helpers@9b819eeeb3
This commit is contained in:
Joe Fleming 2016-12-22 15:58:56 -07:00
parent ceb52252be
commit efa7302364

View file

@ -6,5 +6,5 @@ module.exports = function run(name, options) {
if (!action) throw new Error('Invalid task: "' + name + '"');
var plugin = pluginConfig();
action(plugin, run, options);
return action(plugin, run, options);
};