diff --git a/lib/plugins/index.js b/lib/plugins/index.js index 1b713b19..e3ee2025 100644 --- a/lib/plugins/index.js +++ b/lib/plugins/index.js @@ -56,8 +56,8 @@ module.exports = (context, pluginsPath) => { } else { // If an object is passed and the path is missing, merge it with step options if (isPlainObject(options[type]) && !options[type].path) { - options[type] = castArray(plugins[type]).map( - plugin => (plugin ? [plugin[0], Object.assign(plugin[1], options[type])] : plugin) + options[type] = castArray(plugins[type]).map(plugin => + plugin ? [plugin[0], Object.assign(plugin[1], options[type])] : plugin ); } if (!validateStep({multiple, required}, options[type])) {