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

Commit af3de7d

Browse files
author
Sven
authored
Merge pull request #21 from dooart/patch-1
Fix bug preventing options to be passed to plugins
2 parents 329f1ee + 892f2a8 commit af3de7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function main(options) {
1717
plugins.push(require(pluginsObject)({}));
1818
} else {
1919
Object.keys(pluginsObject).forEach(function (pluginName) {
20-
var value = pluginsConfig[pluginName];
20+
var value = pluginsObject[pluginName];
2121
if (value === false) return;
2222
var pluginOptions = value === true ? {} : value;
2323
plugins.push(require(pluginName)(pluginOptions));

0 commit comments

Comments
 (0)