We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4813d91 commit 5f0c814Copy full SHA for 5f0c814
lib/fs.js
@@ -884,7 +884,7 @@ function rmdirSync(path, options) {
884
return rimrafSync(pathModule.toNamespacedPath(path), options);
885
}
886
887
- options = validateRmdirOptions(options);
+ validateRmdirOptions(options);
888
const ctx = { path };
889
binding.rmdir(pathModule.toNamespacedPath(path), undefined, ctx);
890
return handleErrorFromBinding(ctx);
0 commit comments