fix tests

This commit is contained in:
Dax Raad
2025-12-09 16:03:33 -05:00
parent e34f18991e
commit 5f6b2fdc6f
2 changed files with 1 additions and 46 deletions

View File

@@ -141,6 +141,7 @@ export namespace Project {
}),
)
const shortest = matches.sort((a, b) => a.length - b.length)[0]
if (!shortest) return
const file = Bun.file(shortest)
const buffer = await file.arrayBuffer()
const base64 = Buffer.from(buffer).toString("base64")