Skip to content

Commit

Permalink
fix: return empty array if manifest doesnt have functions defined (#5434
Browse files Browse the repository at this point in the history
)
  • Loading branch information
khendrikse committed Jan 27, 2023
1 parent 83a81b1 commit 8fe8339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/edge-functions/internal.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const getInternalFunctions = async () => {
}

const data = {
functions: manifest.functions,
functions: manifest.functions || [],
path,
}

Expand Down

1 comment on commit 8fe8339

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Package size: 265 MB

Please sign in to comment.