Skip to content

Commit 8fe8339

Browse files
authored
fix: return empty array if manifest doesnt have functions defined (#5434)
1 parent 83a81b1 commit 8fe8339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/edge-functions/internal.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const getInternalFunctions = async () => {
3232
}
3333

3434
const data = {
35-
functions: manifest.functions,
35+
functions: manifest.functions || [],
3636
path,
3737
}
3838

0 commit comments

Comments
 (0)