A user pointed out a bug where, even though they'd specified a specific list of plugins to run, all plugins were still running. The issue was that, when merging configuration from different sources together, we were using Lodash's merge function. When merging the default plugins array:
Fixes #80
A user pointed out a bug where, even though they'd specified a specific list of plugins to run, all plugins were still running. The issue was that, when merging configuration from different sources together, we were using Lodash's
merge
function. When merging the default plugins array:And the array passed by the user on the command line:
Instead of the user's specified plugins completely overriding the defaults, the tool would run with the following plugins:
This PR fixes the issue by replacing
merge
withassign
, which doesn't merge arrays in this manner.