Consistent use (always) of parentheses in arrow functions.

This commit is contained in:
Michał Lipiński
2017-03-07 21:57:21 +01:00
parent 7ffe700d66
commit 41a8d2272e
40 changed files with 47 additions and 49 deletions

View File

@@ -14,7 +14,7 @@ function baseMatches(source) {
if (matchData.length == 1 && matchData[0][2]) {
return matchesStrictComparable(matchData[0][0], matchData[0][1])
}
return object => object === source || baseIsMatch(object, source, matchData)
return (object) => object === source || baseIsMatch(object, source, matchData)
}
export default baseMatches