diff options
author | 2024-09-03 13:46:53 +0000 | |
---|---|---|
committer | 2024-09-03 13:46:53 +0000 | |
commit | 5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1 (patch) | |
tree | d3a3c432ea67d5380b3f8d4fc3ea92453e57588e | |
parent | 7ff7134b8038a3b798293b2218bbf6dd02d2ac32 (diff) | |
download | astro-5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1.tar.gz astro-5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1.tar.zst astro-5d7bc70fc369724e2b6a4dad5a34cbe2a29c98f1.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/sync/index.ts | 4 |
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); } |