the funny
This commit is contained in:
parent
5a555b7bb0
commit
09a573a2d3
118 changed files with 15738 additions and 24427 deletions
|
@ -482,7 +482,7 @@ export async function renderTemplate(
|
|||
// If our template cache is full, delete the first item
|
||||
if (templateCache.size >= TEMPLATE_CACHE_SIZE) {
|
||||
const firstKey = templateCache.keys().next().value;
|
||||
templateCache.delete(firstKey);
|
||||
templateCache.delete(firstKey!);
|
||||
}
|
||||
|
||||
templateCache.set(template, parseResult);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue