summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/sync/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/sync/index.ts b/packages/astro/src/core/sync/index.ts
index 8b659a4f5..75acbe2c8 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);
}