From 5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 3 Sep 2024 13:46:53 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/sync/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/core/sync/index.ts b/packages/astro/src/core/sync/index.ts index 8b659a4f57be..75acbe2c8400 100644 --- a/packages/astro/src/core/sync/index.ts +++ b/packages/astro/src/core/sync/index.ts @@ -66,8 +66,8 @@ export default async function sync( // Actions will throw if there is misconfiguration, so catch here. try { await runHookConfigDone({ settings, logger }); - } catch(err) { - if(err instanceof Error) { + } catch (err) { + if (err instanceof Error) { const errorMessage = err.toString(); logger.error('sync', errorMessage); }