0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

[ci] format

This commit is contained in:
Matthew Phillips 2024-09-03 13:46:53 +00:00 committed by astrobot-houston
parent 7ff7134b80
commit 5d7bc70fc3

View file

@ -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);
}