fix: resolve ci failures

This commit is contained in:
Peter Steinberger
2026-01-18 08:44:43 +00:00
parent d776cfb4e1
commit 65bed815a8
24 changed files with 82 additions and 123 deletions

View File

@@ -237,11 +237,10 @@ async function sipsApplyOrientation(buffer: Buffer, orientation: number): Promis
const input = path.join(dir, "in.jpg");
const output = path.join(dir, "out.jpg");
await fs.writeFile(input, buffer);
await runExec(
"/usr/bin/sips",
[...ops, input, "--out", output],
{ timeoutMs: 20_000, maxBuffer: 1024 * 1024 },
);
await runExec("/usr/bin/sips", [...ops, input, "--out", output], {
timeoutMs: 20_000,
maxBuffer: 1024 * 1024,
});
return await fs.readFile(output);
});
}