Skip to content

Commit 7a3fc18

Browse files
committed
doc: edit text for DEP0094
Make deprecation text slightly more concise and direct. PR-URL: nodejs#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>
1 parent 118b999 commit 7a3fc18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/deprecations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -860,9 +860,9 @@ and `crypto.getFips()` instead.
860860
861861
Type: Runtime
862862
863-
Using `assert.fail()` with more than one argument has no benefit over writing an
864-
individual error message. Either use `assert.fail()` with one argument or switch
865-
to one of the other assert methods.
863+
Using `assert.fail()` with more than one argument is deprecated. Use
864+
`assert.fail()` with only one argument or use a different `assert` module
865+
method.
866866
867867
<a id="DEP0095"></a>
868868
### DEP0095: timers.enroll()

0 commit comments

Comments
 (0)