Skip to content

Commit a522350

Browse files
committed
chore: prettier
1 parent bba7172 commit a522350

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/runtime/src/helpers/edge.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export const writeDevEdgeFunction = async ({
266266
* Writes an edge function that routes RSC data requests to the `.rsc` route
267267
*/
268268

269-
export const writeRscDataEdgeFunction = async ({
269+
export const writeRscDataEdgeFunction = async ({
270270
prerenderManifest,
271271
appPathRoutesManifest,
272272
}: {
@@ -347,7 +347,6 @@ export const writeEdgeFunctions = async ({
347347
netlifyConfig: NetlifyConfig
348348
routesManifest: RoutesManifest
349349
}) => {
350-
351350
const nextjsPluginVersion = await writeEdgeFunctionConfiguration()
352351

353352
const manifest: FunctionManifest = {
@@ -407,7 +406,9 @@ export const writeEdgeFunctions = async ({
407406
})
408407

409408
manifest.functions.push(
410-
...matchers.map((matcher) => middlewareMatcherToEdgeFunctionDefinition(matcher, functionName, nextjsPluginVersion)),
409+
...matchers.map((matcher) =>
410+
middlewareMatcherToEdgeFunctionDefinition(matcher, functionName, nextjsPluginVersion),
411+
),
411412
)
412413
}
413414
// Functions (i.e. not middleware, but edge SSR and API routes)
@@ -457,7 +458,7 @@ export const writeEdgeFunctions = async ({
457458
name: edgeFunctionDefinition.name,
458459
pattern: dataRoute,
459460
cache: usesAppDir ? 'manual' : undefined,
460-
generator: `${nextjsPluginVersion}`
461+
generator: `${nextjsPluginVersion}`,
461462
})
462463
}
463464
}
@@ -483,7 +484,7 @@ export const writeEdgeFunctions = async ({
483484
function: 'ipx',
484485
name: 'next/image handler',
485486
path: '/_next/image*',
486-
generator: `${nextjsPluginVersion}`
487+
generator: `${nextjsPluginVersion}`,
487488
})
488489
} else {
489490
console.log(

packages/runtime/src/helpers/functionsMetaData.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const getNextRuntimeVersion = async (packageJsonPath: string, useNodeModulesPath
1919
const nodeModulesPath = resolveModuleRoot(NEXT_PLUGIN) ? join(resolveModuleRoot(NEXT_PLUGIN), 'package.json') : null
2020
const pluginPackagePath = '.netlify/plugins/package.json'
2121

22-
2322
// The information needed to create a function configuration file
2423
export interface FunctionInfo {
2524
// The name of the function, e.g. `___netlify-handler`

0 commit comments

Comments
 (0)