style: fix prettier errors
This commit is contained in:
parent
669c9ed300
commit
ae4995c867
@ -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])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user