Fix Linting

This commit is contained in:
Tanner Linsley
2017-07-31 10:37:12 -06:00
parent 370f443347
commit 750cfe3ac4

View File

@@ -152,10 +152,10 @@ function isArray (a) {
function makePathArray (obj) {
return flattenDeep(obj)
.join('.')
.replace(/\[/g, '.')
.replace(/\]/g, '')
.split('.')
.join('.')
.replace(/\[/g, '.')
.replace(/\]/g, '')
.split('.')
}
function flattenDeep (arr, newArr = []) {