Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
Merge pull request #21 from dooart/patch-1
Browse files Browse the repository at this point in the history
Fix bug preventing options to be passed to plugins
  • Loading branch information
Sven authored Sep 24, 2017
2 parents 329f1ee + 892f2a8 commit af3de7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function main(options) {
plugins.push(require(pluginsObject)({}));
} else {
Object.keys(pluginsObject).forEach(function (pluginName) {
var value = pluginsConfig[pluginName];
var value = pluginsObject[pluginName];
if (value === false) return;
var pluginOptions = value === true ? {} : value;
plugins.push(require(pluginName)(pluginOptions));
Expand Down

0 comments on commit af3de7d

Please sign in to comment.