summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-09-21 17:10:10 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-09-21 17:10:10 +0000
commitfe29ce27310f5112147542f5a86bb02c7f2860ce (patch)
tree2a20530c8ffe954266b310b5143a4876aec809f4
parentbdd267d08937611984d074a2872af11ecf3e1a12 (diff)
downloadastro-fe29ce27310f5112147542f5a86bb02c7f2860ce.tar.gz
astro-fe29ce27310f5112147542f5a86bb02c7f2860ce.tar.zst
astro-fe29ce27310f5112147542f5a86bb02c7f2860ce.zip
[ci] format
-rw-r--r--packages/astro/src/assets/services/squoosh.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/astro/src/assets/services/squoosh.ts b/packages/astro/src/assets/services/squoosh.ts
index 023e92fe5..95c16b8d8 100644
--- a/packages/astro/src/assets/services/squoosh.ts
+++ b/packages/astro/src/assets/services/squoosh.ts
@@ -29,7 +29,10 @@ const qualityTable: Record<
// Squoosh's PNG encoder does not support a quality setting, so we can skip that here
};
-async function getRotationForEXIF(inputBuffer: Buffer, src?: string): Promise<Operation | undefined> {
+async function getRotationForEXIF(
+ inputBuffer: Buffer,
+ src?: string
+): Promise<Operation | undefined> {
const meta = await imageMetadata(inputBuffer, src);
if (!meta) return undefined;