-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[now-build-utils] Validate functions and allow them as config #3218
Conversation
Co-Authored-By: Steven <steven@ceriously.com>
…ithub.com/zeit/now into now-build-utils/update-functions-property
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Codecov Report
@@ Coverage Diff @@
## canary #3218 +/- ##
=======================================
Coverage 13.53% 13.53%
=======================================
Files 268 268
Lines 10341 10341
Branches 1217 1217
=======================================
Hits 1400 1400
Misses 8879 8879
Partials 62 62 Continue to review full report at Codecov.
|
* [now-build-utils] Validate functions and allow them as config * Apply suggestions from code review Co-Authored-By: Steven <steven@ceriously.com> * Change memory check * Adjust test
We need to validate the
functions
property to make sure users are aware of errors during development.We also don't want to apply the function data to the builds, since a build could output multiple lambdas, which will use this instead.