File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2222,11 +2222,12 @@ added: v0.9.12
22222222
22232223* {boolean}
22242224
2225- The ` process.throwDeprecation ` is a mutable property at runtime which
2226- indicates whether the ` --throw-deprecation ` flag is set on the current Node.js
2227- process. See the documentation for the [ ` 'warning' ` event] [ process_warning ] and
2228- the [ ` emitWarning() ` method] [ process_emit_warning ] for more information about
2229- this flag's behavior.
2225+ The initial value of ` process.throwDeprecation ` indicates whether the
2226+ ` --throw-deprecation ` flag is set on the current Node.js process,
2227+ ` process.throwDeprecation ` is mutable, so whether or not deprecation
2228+ warnings results in an error may be altered at runtime. See the
2229+ documentation for the [ ` 'warning' ` event] [ process_warning ] and the
2230+ [ ` emitWarning() ` method] [ process_emit_warning ] for more information.
22302231
22312232``` console
22322233$ node --throw-deprecation -p " process.throwDeprecation"
You can’t perform that action at this time.
0 commit comments