Skip to content

Commit b7063d6

Browse files
authored
docs: typos (#82)
Just helping out with things I noticed while getting an example to work.
1 parent b4a723f commit b7063d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ await prompt({
402402
unit: { type: "string", enum: ["c", "f"] },
403403
},
404404
required: ["location", "unit"],
405-
additionalProperties: False,
405+
additionalProperties: false,
406406
},
407407
},
408408
},
@@ -461,7 +461,7 @@ While implementing the lower-level functionality, we also dream big: what would
461461
462462
## Contributing
463463
464-
Please see [CONTRIBUTING.md](CONTRIBUTING.md)
464+
Please see [CONTRIBUTING.md](CONTRIBUTING.md).
465465
466466
## License
467467

dreamcode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const { isValidRequest, payload } = await copilotAgent.verifyAndParse(
200200

201201
## Notes
202202

203-
Regarding the context passed to event handlers
203+
Regarding the context passed to event handlers:
204204

205205
- `message` / `confirmation` / etc are objects as received by the user
206206
- `octokit` is a pre-authenticated octokit instance
@@ -211,6 +211,6 @@ Regarding the context passed to event handlers
211211
- `respond` is an API to send different types of responses to the user
212212
- `log` is the logger as we use it in Octokit. See https://github.com/octokit/core.js?tab=readme-ov-file#logging
213213

214-
On how to receive the events (transport layer)
214+
On how to receive the events (transport layer):
215215

216216
- `createNodeMiddleware` is something we have currently built into some of the Octokit SDKs, e.g. https://github.com/octokit/app.js?tab=readme-ov-file#createnodemiddlewareapp-options. However, I think we will move these out into separate packages, such as `@octokit/webhooks-middleware-node`, etc. But for now, we can just assume that we ship with it by default. We can also add other middlewares for Netlify/Vercel edge functions, lambda, etc.

0 commit comments

Comments
 (0)