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

Commit 892f2a8

Browse files
authored
Fix bug preventing options to be passed to plugins
This bug was introduced [here](845d437#diff-168726dbe96b3ce427e7fedce31bb0bc).
1 parent 329f1ee commit 892f2a8

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)