the funny

This commit is contained in:
Lara 2024-11-02 14:55:29 +02:00
parent 5a555b7bb0
commit 09a573a2d3
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
118 changed files with 15738 additions and 24427 deletions

View file

@ -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);