crypto: align parameter names with documentation · nodejs/node@6d0d5b2 · GitHub
Skip to content

Commit 6d0d5b2

Browse files
Trottrichardlau
authored andcommitted
crypto: align parameter names with documentation
Change _cb_ to _callback_ to align with documentation. This is so that stack traces and error messages align with the documentation. If the documentation says "callback", then the stack traces and error messages should indicate that "callback" needs to be function or whatever, rather than "cb". PR-URL: #35054 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 5bd0e08 commit 6d0d5b2

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

lib/internal/crypto/random.js

Lines changed: 21 additions & 21 deletions

0 commit comments

Comments
 (0)