summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthewp@users.noreply.github.com> 2024-09-03 13:46:53 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-09-03 13:46:53 +0000
commit5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1 (patch)
treed3a3c432ea67d5380b3f8d4fc3ea92453e57588e
parent7ff7134b8038a3b798293b2218bbf6dd02d2ac32 (diff)
downloadastro-5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1.tar.gz
astro-5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1.tar.zst
astro-5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1.zip
[ci] format
-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);
}