mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
Fix up some missing URLs (#8975)
### Related Issues
This fixes up a few links that had errors I found when scanning through
the code.
### 📋 Checklist
<!--
Please keep your PR as a Draft until the checklist is complete
-->
#### Tests
- [ ] The code changed/added as part of this PR has been covered with
tests
- [ ] All tests pass locally with `yarn test-unit`
#### Code Review
- [ ] This PR has a concise title and thorough description useful to a
reviewer
- [ ] Issue from task tracker has a link to this PR
This commit is contained in:
@@ -27,7 +27,7 @@ Serverless:
|
|||||||
- Runs `npm run now-build`
|
- Runs `npm run now-build`
|
||||||
- Does not run `npm install --production` as the output from the build is all that's needed to bundle lambdas.
|
- Does not run `npm install --production` as the output from the build is all that's needed to bundle lambdas.
|
||||||
- No runtime dependencies, meaning smaller lambda functions
|
- No runtime dependencies, meaning smaller lambda functions
|
||||||
- Optimized for fast [cold start](https://vercel.com/blog/serverless-ssr#cold-start)
|
- Optimized for fast cold start
|
||||||
|
|
||||||
#### Possible Ways to Fix It
|
#### Possible Ways to Fix It
|
||||||
|
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ export default class Now extends EventEmitter {
|
|||||||
const { key } = error;
|
const { key } = error;
|
||||||
err.message =
|
err.message =
|
||||||
`The env key ${key} has an invalid type: ${typeof env[key]}. ` +
|
`The env key ${key} has an invalid type: ${typeof env[key]}. ` +
|
||||||
'Please supply a String or a Number (https://err.sh/vercel-cli/env-value-invalid-type)';
|
'Please supply a String or a Number (https://err.sh/vercel/env-value-invalid-type)';
|
||||||
} else if (code === 'unreferenced_build_specifications') {
|
} else if (code === 'unreferenced_build_specifications') {
|
||||||
const count = unreferencedBuildSpecs.length;
|
const count = unreferencedBuildSpecs.length;
|
||||||
const prefix = count === 1 ? 'build' : 'builds';
|
const prefix = count === 1 ? 'build' : 'builds';
|
||||||
|
|||||||
Reference in New Issue
Block a user