mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -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.
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue