mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: edit text for DEP0094
Make deprecation text slightly more concise and direct. PR-URL: https://github.com/nodejs/node/pull/20519 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
c6e4ffa429
commit
74c74db35e
1 file changed
+3
-3
@@ -861,9 +861,9 @@ and `crypto.getFips()` instead.
|
||||
|
||||
Type: Runtime
|
||||
|
||||
Using `assert.fail()` with more than one argument has no benefit over writing an
|
||||
individual error message. Either use `assert.fail()` with one argument or switch
|
||||
to one of the other assert methods.
|
||||
Using `assert.fail()` with more than one argument is deprecated. Use
|
||||
`assert.fail()` with only one argument or use a different `assert` module
|
||||
method.
|
||||
|
||||
<a id="DEP0095"></a>
|
||||
### DEP0095: timers.enroll()
|
||||
|
||||
Reference in new issue
Block a user