Skip to content

Commit

Permalink
fix: use right object to build config map
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Jan 5, 2023
1 parent 520a241 commit cc1aa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const generateManifest = ({
const preCacheRoutes: Route[] = []
const postCacheRoutes: Route[] = []
const manifestFunctionConfig: Manifest['function_config'] = Object.fromEntries(
Object.keys(functionConfig).map((key) => [key, { excluded_patterns: [] }]),
functions.map(({ name }) => [name, { excluded_patterns: [] }]),
)

for (const [name, { excludedPath }] of Object.entries(functionConfig)) {
Expand Down

0 comments on commit cc1aa18

Please sign in to comment.