Fix: findDupUsercss indent

This commit is contained in:
eight 2017-09-12 18:57:06 +08:00
parent e1d221e9a9
commit f3176de950

View File

@ -563,9 +563,7 @@ function findDupUsercss(style) {
return getStyles({id: style.id}).then(s => s[0]);
}
return getStyles().then(styles =>
styles.find(
s => s.name === style.name && s.namespace === style.namespace
)
styles.find(s => s.name === style.name && s.namespace === style.namespace)
);
}