mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
7ff7134b80
commit
5d7bc70fc3
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ export default async function sync(
|
||||||
// Actions will throw if there is misconfiguration, so catch here.
|
// Actions will throw if there is misconfiguration, so catch here.
|
||||||
try {
|
try {
|
||||||
await runHookConfigDone({ settings, logger });
|
await runHookConfigDone({ settings, logger });
|
||||||
} catch(err) {
|
} catch (err) {
|
||||||
if(err instanceof Error) {
|
if (err instanceof Error) {
|
||||||
const errorMessage = err.toString();
|
const errorMessage = err.toString();
|
||||||
logger.error('sync', errorMessage);
|
logger.error('sync', errorMessage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue