Skip to content

Commit

Permalink
🐛 Fix Plugabilly search syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed Jun 23, 2016
1 parent 6360bf7 commit a3f0718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/content-types/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const uuid = require('uuid');
const _ = require('lodash');
const globalConfig = require('config');

let configPlugins = [];
const configPlugins = {};

/**
* Retrieve Input Plugins
Expand All @@ -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-');
Expand Down

0 comments on commit a3f0718

Please sign in to comment.