From 75db3fdc62fb6447f8f3671396acb6e50e3c5bbe Mon Sep 17 00:00:00 2001 From: Arun Sivasankaran Date: Mon, 2 Oct 2017 15:23:34 -0700 Subject: [PATCH] fix: Fix typo in lib/pluginRunner that causes passed pluginOptions to be ignored --- lib/pluginRunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pluginRunner.js b/lib/pluginRunner.js index 805ef3a2..ca87966c 100644 --- a/lib/pluginRunner.js +++ b/lib/pluginRunner.js @@ -6,7 +6,7 @@ var runPlugin = function (self, PluginRefrence, type, func, queue, job, args, ca callback(null, true) } else { var pluginName = PluginRefrence - if (typeof pluginRefrence === 'function') { + if (typeof PluginRefrence === 'function') { pluginName = new PluginRefrence(self, func, queue, job, args, {}).name }