Skip to content

Commit 2435af5

Browse files
author
mrsteele
committed
chore: resolving linters
1 parent bb5a32c commit 2435af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json-truncate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const truncate = (obj, options = {}, curDepth = 0) => {
3939
return newArr
4040
} else {
4141
const newObj = {}
42-
for (let key in obj) {
42+
for (const key in obj) {
4343
if (isFlat(obj[key])) {
4444
newObj[key] = obj[key]
4545
} else {

0 commit comments

Comments
 (0)