Unverified Commit da217d07 authored by James M Snell's avatar James M Snell
Browse files

fs: fix flag and mode validation



The `flag` and `mode` options were not being validated correctly.

Signed-off-by: default avatarJames M Snell <jasnell@gmail.com>
Fixes: https://github.com/nodejs/node/issues/37430

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


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 7c63bc65
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