Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Aug 30, 2023
1 parent df4ac5a commit 7e35dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/lruQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function lruQueue (limit) {
base = 1
return
}
while (!Object.prototype.hasOwnProperty.call(queue, ++base)) {}
while (!Object.prototype.hasOwnProperty.call(queue, ++base)) { /* empty */ }
}
limit = Math.abs(limit)
return {
Expand All @@ -36,7 +36,7 @@ export function lruQueue (limit) {
}
delete queue[oldIndex]
if (base !== oldIndex) return undefined
while (!Object.prototype.hasOwnProperty.call(queue, ++base)) {}
while (!Object.prototype.hasOwnProperty.call(queue, ++base)) { /* empty */ }
return undefined
},
delete: del,
Expand Down

0 comments on commit 7e35dad

Please sign in to comment.