doc: fixup alignment of warning subsection

Subsection was accidentally aligned with the wrong event.

PR-URL: https://github.com/nodejs/node/pull/51374
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
James M Snell authored and Richard Lau committed 2024-03-25 19:23:35 +00:00
1 parent d8b86ad363
commit 42b4f0f5ab
1 file changed
+12 -12
+12 -12
View File
@@ -650,18 +650,6 @@ of the custom deprecation.
The `*-deprecation` command-line flags only affect warnings that use the name
`'DeprecationWarning'`.
### Event: `'worker'`
<!-- YAML
added:
- v16.2.0
- v14.18.0
-->
* `worker` {Worker} The {Worker} that was created.
The `'worker'` event is emitted after a new {Worker} thread has been created.
#### Emitting custom warnings
See the [`process.emitWarning()`][process_emit_warning] method for issuing
@@ -690,6 +678,18 @@ A few of the warning types that are most common include:
that will be ignored rather than treated as an error. One example is use of
the HTTP response status message when using the HTTP/2 compatibility API.
### Event: `'worker'`
<!-- YAML
added:
- v16.2.0
- v14.18.0
-->
* `worker` {Worker} The {Worker} that was created.
The `'worker'` event is emitted after a new {Worker} thread has been created.
### Signal events
<!--type=event-->