stream: use validateNumber for BYOB reader options.min · nodejs/node@4f6f2cf · GitHub
Skip to content

Commit 4f6f2cf

Browse files
greenheadHQaduh95
authored andcommitted
stream: use validateNumber for BYOB reader options.min
The error thrown for a non-number min is unchanged. Signed-off-by: greenhead <shren0812@gmail.com> PR-URL: #65014 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 676a122 commit 4f6f2cf

2 files changed

Lines changed: 43 additions & 2 deletions

File tree

lib/internal/webstreams/readablestream.js

Lines changed: 2 additions & 2 deletions
Lines changed: 41 additions & 0 deletions

0 commit comments

Comments
 (0)