From f005efc1c19bb005d09a17908d740a0baa588447 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Mon, 13 Feb 2023 17:37:23 -0500 Subject: [PATCH] fix: use syncCli in check --- packages/astro/src/cli/check/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/cli/check/index.ts b/packages/astro/src/cli/check/index.ts index fc27b62a39e7..069ce343c81b 100644 --- a/packages/astro/src/cli/check/index.ts +++ b/packages/astro/src/cli/check/index.ts @@ -21,8 +21,8 @@ interface Result { export async function check(settings: AstroSettings, { logging }: { logging: LogOptions }) { console.log(bold('astro check')); - const { sync } = await import('../../core/sync/index.js'); - const syncRet = await sync(settings, { logging, fs }); + const { syncCli } = await import('../../core/sync/index.js'); + const syncRet = await syncCli(settings, { logging, fs }); // early exit on sync failure if (syncRet === 1) return syncRet;