mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix typo in iterator for cache object
This commit is contained in:
parent
31f6013172
commit
a655041bdd
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class ASpellRunner
|
||||||
|
|
||||||
# update the cache after processing all words, to avoid cache
|
# update the cache after processing all words, to avoid cache
|
||||||
# changing while we use it
|
# changing while we use it
|
||||||
for k, v in addToCache
|
for k, v of addToCache
|
||||||
cache.set(k, v)
|
cache.set(k, v)
|
||||||
|
|
||||||
logger.log hits: hits, total: words.length, hitrate: hits/words.length, "cache hit rate"
|
logger.log hits: hits, total: words.length, hitrate: hits/words.length, "cache hit rate"
|
||||||
|
|
Loading…
Reference in a new issue