Skip to content

Commit 5f8fbe3

Browse files
committed
chore: see if this does fix ci
1 parent ad963ba commit 5f8fbe3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/edge-bundler/node/formats/javascript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const getLocalEntryPoint = (
7878
}
7979
`
8080
})
81-
const bootCall = `boot(functions, metadata);`
81+
const bootCall = `boot(() => functions, metadata);`
8282

8383
return [bootImport, declaration, ...imports, bootCall].join('\n\n')
8484
}

packages/edge-bundler/node/stage_2.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ test('`getLocalEntryPoint` returns a valid stage 2 file for local development',
1414
// This is a fake bootstrap that we'll create just for the purpose of logging
1515
// the functions and the metadata that are sent to the `boot` function.
1616
const printer = `
17-
export const boot = async (functions, metadata) => {
17+
export const boot = async (getFunctions, metadata) => {
1818
const responses = {}
19+
const functions = await getFunctions()
1920
2021
for (const name in functions) {
2122
responses[name] = await functions[name]()

0 commit comments

Comments
 (0)