[ci] format

This commit is contained in:
Jutanium 2022-10-26 18:37:12 +00:00 committed by fredkbot
parent 81310b1dde
commit fc5cb2a51d

View file

@ -33,7 +33,9 @@ export default async function preview(
throw new Error(`[preview] No adapter found.`);
}
if (!settings.adapter.previewEntrypoint) {
throw new Error(`[preview] The ${settings.adapter.name} adapter does not support the preview command.`);
throw new Error(
`[preview] The ${settings.adapter.name} adapter does not support the preview command.`
);
}
// We need to use require.resolve() here so that advanced package managers like pnpm
// don't treat this as a dependency of Astro itself. This correctly resolves the