mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Consistent parens usage for arrow functions with body.
This commit is contained in:
@@ -23,7 +23,7 @@ const rePropName = RegExp(
|
||||
* @param {string} string The string to convert.
|
||||
* @returns {Array} Returns the property path array.
|
||||
*/
|
||||
const stringToPath = memoizeCapped(string => {
|
||||
const stringToPath = memoizeCapped((string) => {
|
||||
const result = []
|
||||
if (reLeadingDot.test(string)) {
|
||||
result.push('')
|
||||
|
||||
Reference in New Issue
Block a user