fix: resvg cli
Build & Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
svemagie
2026-03-31 20:46:45 +02:00
parent 2b9e425c98
commit 3f6d499081
+1 -1
View File
@@ -488,7 +488,7 @@ export async function generateOgImages(contentDir, cacheDir, siteName, batchSize
const resvgProc = spawnSync( const resvgProc = spawnSync(
"resvg", "resvg",
["-w", String(WIDTH), "-b", COLORS.bg, "-o", outPath, "-"], ["-w", String(WIDTH), "-b", COLORS.bg, "-o", outPath, "-"],
{ input: svg, encoding: "buffer" } { input: svg, encoding: null }
); );
if (resvgProc.error) { if (resvgProc.error) {
throw resvgProc.error; throw resvgProc.error;