Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[Squash] nit
Co-authored-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
jasnell and RaisinTen authored Apr 8, 2021
commit 4643682f3c53930fdc0fe331ce0b4a49f74f8b4c
2 changes: 1 addition & 1 deletion lib/internal/crypto/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function randomFill(buf, offset, size, callback) {
if (typeof offset === 'function') {
callback = offset;
offset = 0;
// size is a length here, assertSize() call turns it into a number of bytes
// Size is a length here, assertSize() call turns it into a number of bytes
size = buf.length;
Comment thread
jasnell marked this conversation as resolved.
} else if (typeof size === 'function') {
callback = size;
Expand Down