X Tutup
The Wayback Machine - https://web.archive.org/web/20230216235852/https://github.com/nodejs/node/commit/4e833b6059
Skip to content
Permalink
Browse files
process,doc: add missing deprecation code
Refs: #36902

PR-URL: #37091
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
cjihrig authored and aduh95 committed Jan 27, 2021
1 parent 2e1e02a commit 4e833b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -2711,7 +2711,7 @@ Type: Documentation-only.

Prefer [`message.socket`][] over [`message.connection`][].

### DEP0XXX: Changing the value of `process.config`
### DEP0150: Changing the value of `process.config`
<!-- YAML
changes:
- version: REPLACEME
@@ -72,7 +72,7 @@ const deprecationHandler = {
warned: false,
message: 'Setting process.config is deprecated. ' +
'In the future the property will be read-only.',
code: 'DEP0XXX',
code: 'DEP0150',
maybeWarn() {
if (!this.warned) {
process.emitWarning(this.message, {

0 comments on commit 4e833b6

Please sign in to comment.
X Tutup