mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-08 00:05:01 +00:00
feat: update to djs 14.19.3, node 22, zod 4
This commit is contained in:
parent
595e1a0556
commit
09eb8e92f2
189 changed files with 1244 additions and 900 deletions
|
@ -481,7 +481,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;
|
||||
const firstKey = templateCache.keys().next().value!;
|
||||
templateCache.delete(firstKey);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue