style: fix prettier errors

This commit is contained in:
Pierre Vanduynslager
2018-11-07 12:19:19 -05:00
parent 669c9ed300
commit ae4995c867
+2 -2
View File
@@ -56,8 +56,8 @@ module.exports = (context, pluginsPath) => {
} else { } else {
// If an object is passed and the path is missing, merge it with step options // If an object is passed and the path is missing, merge it with step options
if (isPlainObject(options[type]) && !options[type].path) { if (isPlainObject(options[type]) && !options[type].path) {
options[type] = castArray(plugins[type]).map( options[type] = castArray(plugins[type]).map(plugin =>
plugin => (plugin ? [plugin[0], Object.assign(plugin[1], options[type])] : plugin) plugin ? [plugin[0], Object.assign(plugin[1], options[type])] : plugin
); );
} }
if (!validateStep({multiple, required}, options[type])) { if (!validateStep({multiple, required}, options[type])) {