Skip to content

lib: fs.rmdir should accept null/undefined in options

Rodrigo Muino Tomonari requested to merge github/fork/exoego/fix-rmdir into master

From the documentation, all fields for options for fs.rmdir are optional. However, if undefined or null is given, it throws error. I think it is inconsistent with other APIs which accept undefined or null and use default values as fallback.

Checklist

Merge request reports

Loading