Skip to content

Commit 575941f

Browse files
authored
Merge pull request #125 from modkaffes/patch-1
Fix typos in README.md in Debugging section
2 parents 04bf691 + 6eb9dab commit 575941f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,10 @@ Then specify `netlify-lambda serve --config ./webpack.functions.js`. If using VS
420420

421421
Netlify Functions [run in Node v8.10](https://www.netlify.com/blog/2018/04/03/node.js-8.10-now-available-in-netlify-functions/) and you may need to run the same version to mirror the environment locally. Also make sure to check that you aren't [committing one of these common Node 8 mistakes in Lambda!](https://serverless.com/blog/common-node8-mistakes-in-lambda/)
422422

423-
**Special warning on `node-fetch`**: `node-fetch` and webpack [currently don't work well together](https://github.com/bitinn/node-fetch/issues/450). you will have to use the default export in your code:
423+
**Special warning on `node-fetch`**: `node-fetch` and webpack [currently don't work well together](https://github.com/bitinn/node-fetch/issues/450). You will have to use the default export in your code:
424424

425425
```js
426-
cons fetch = require('node-fetch').default // not require('node-fetch')
426+
const fetch = require('node-fetch').default // not require('node-fetch')
427427
```
428428

429429
Don't forget to search our issues in case someone has run into a similar problem you have!

0 commit comments

Comments
 (0)