From eb5ef6b9dbf02bcbbb83365972293c2ce48a71f3 Mon Sep 17 00:00:00 2001 From: TheUncertaintim Date: Thu, 3 Jul 2025 06:14:57 +0800 Subject: [PATCH 1/2] docs: Update typos in example snippets --- .../en/learn/asynchronous-work/asynchronous-flow-control.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/site/pages/en/learn/asynchronous-work/asynchronous-flow-control.md b/apps/site/pages/en/learn/asynchronous-work/asynchronous-flow-control.md index 6525d1ceab05f..50e3ee8f1ed7c 100644 --- a/apps/site/pages/en/learn/asynchronous-work/asynchronous-flow-control.md +++ b/apps/site/pages/en/learn/asynchronous-work/asynchronous-flow-control.md @@ -182,7 +182,7 @@ function final() { } function dispatch(recipient, callback) { - // `sendEmail` is a hypothetical SMTP client + // `sendMail` is a hypothetical SMTP client sendMail( { subject: 'Dinner tonight', @@ -227,7 +227,7 @@ const recipients = [ ]; function dispatch(recipient, callback) { - // `sendEmail` is a hypothetical SMTP client + // `sendMail` is a hypothetical SMTP client sendMail( { subject: 'Dinner tonight', From 1568af3a7513a8327b193f9fb605ae60190987b6 Mon Sep 17 00:00:00 2001 From: TheUncertaintim Date: Thu, 3 Jul 2025 06:21:33 +0800 Subject: [PATCH 2/2] docs: Fix broken link --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 97c2cfa2a0b6f..10594a75cb4a8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -113,7 +113,7 @@ node --run build 1. **Create a branch**: `git checkout -b your-feature-branch` 2. **Commit changes**: Follow our [commit guidelines](./docs/code-style.md#commit-guidelines) 3. **Push to your fork**: `git push origin your-feature-branch` -4. **Open a Pull Request**: Use our [pull request template](.github/pull_request_template.md) +4. **Open a Pull Request**: Use our [pull request template](.github/PULL_REQUEST_TEMPLATE.md) ## Documentation Structure