Unverified Commit b6da55f0 authored by Lucas Holmquist's avatar Lucas Holmquist Committed by Anna Henningsen
Browse files

fs: make fs.read params optional

This makes all the parameters of the `fs.read` function, except
for `fd` and the callback(when not using as a promise) optional.

They will default to sensible defaults.

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

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


Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
parent 4f87b4f4
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