Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Jan 8, 2020
1 parent b74cca4 commit 4861abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function visit(
}

else if (Array.isArray(value)) {
const _remove_count = remove_count;
const _remove_count = remove_count;
remove_count = 0;
for (let j = 0, k = 0; j < value.length; j += 1, k += 1) {
if (value[j] !== null && typeof value[j].type === 'string') {
Expand Down

0 comments on commit 4861abf

Please sign in to comment.