Commit d4693ff4 authored by Dylan Elliott's avatar Dylan Elliott Committed by Antoine du Hamel
Browse files

fs: add validation for fd and path

Adds type validation to options fd & opts in `fs.createWriteStream` and
`fs.createReadStream`.

Fixes: https://github.com/nodejs/node/issues/35178

PR-URL: https://github.com/nodejs/node/pull/35187


Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Co-authored-by: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
parent d08ea014
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment