diff --git a/packages/integrations/netlify/src/integration-functions.ts b/packages/integrations/netlify/src/integration-functions.ts index fcb3f3c70b58..609dc2500541 100644 --- a/packages/integrations/netlify/src/integration-functions.ts +++ b/packages/integrations/netlify/src/integration-functions.ts @@ -50,7 +50,7 @@ function netlifyFunctions({ } }, 'astro:build:done': async ({ routes, dir }) => { - const type = builders ? 'builders' : 'functions' + const type = builders ? 'builders' : 'functions'; await createRedirects(_config, routes, dir, entryFile, type); }, }, diff --git a/packages/integrations/netlify/src/netlify-functions.ts b/packages/integrations/netlify/src/netlify-functions.ts index 9c9a70848aab..0f9b581587f2 100644 --- a/packages/integrations/netlify/src/netlify-functions.ts +++ b/packages/integrations/netlify/src/netlify-functions.ts @@ -145,7 +145,7 @@ export const createExports = (manifest: SSRManifest, args: Args) => { return fnResponse; }; - const handler = builders ? builder(myHandler) : myHandler + const handler = builders ? builder(myHandler) : myHandler; return { handler }; };