[ci] format

This commit is contained in:
matthewp 2022-10-18 20:11:38 +00:00 committed by fredkbot
parent 500acb3c11
commit e78bb2f866

View file

@ -301,8 +301,10 @@ function isRedirect(statusCode: number) {
}
function throwIfRedirectNotAllowed(response: Response, config: AstroConfig) {
if(config.output !== 'server' && isRedirect(response.status)) {
throw new Error(`Redirects are only available when using output: 'server'. Update your Astro config if you need SSR features.`);
if (config.output !== 'server' && isRedirect(response.status)) {
throw new Error(
`Redirects are only available when using output: 'server'. Update your Astro config if you need SSR features.`
);
}
}