From a3f0718ce41eb7379c7dc188b62bb3e952bce217 Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Thu, 23 Jun 2016 19:33:53 +0200 Subject: [PATCH] :bug: Fix Plugabilly search syntax --- lib/content-types/merge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/content-types/merge.js b/lib/content-types/merge.js index b0d3eb9..5284b9e 100644 --- a/lib/content-types/merge.js +++ b/lib/content-types/merge.js @@ -6,7 +6,7 @@ const uuid = require('uuid'); const _ = require('lodash'); const globalConfig = require('config'); -let configPlugins = []; +const configPlugins = {}; /** * Retrieve Input Plugins @@ -15,7 +15,7 @@ let configPlugins = []; */ if (globalConfig.hasOwnProperty('content')) { if (globalConfig.content.hasOwnProperty('plugins')) { - configPlugins = globalConfig.content.directory; + configPlugins.search = globalConfig.content.directory; } } const plugins = plugabilly(configPlugins).name().containsSync('input-plugin-');