Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
juanarbol committed Sep 19, 2019
1 parent 52b7711 commit bf3bcf7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2222,11 +2222,12 @@ added: v0.9.12

* {boolean}

The `process.throwDeprecation` is a mutable property at runtime which
indicates whether the `--throw-deprecation` flag is set on the current Node.js
process. See the documentation for the [`'warning'` event][process_warning] and
the [`emitWarning()` method][process_emit_warning] for more information about
this flag's behavior.
The initial value of `process.throwDeprecation` indicates whether the
`--throw-deprecation` flag is set on the current Node.js process,
`process.throwDeprecation` is mutable, so whether or not deprecation
warnings results in an error may be altered at runtime. See the
documentation for the [`'warning'` event][process_warning] and the
[`emitWarning()` method][process_emit_warning] for more information.

```console
$ node --throw-deprecation -p "process.throwDeprecation"
Expand Down

0 comments on commit bf3bcf7

Please sign in to comment.