fs: remove unused assignment

PR-URL: https://github.com/nodejs/node/pull/35642
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
Rich Trott 2020-10-14 05:43:41 -07:00
parent 2c2c87e291
commit 7f25fe8b67

View File

@ -888,7 +888,7 @@ function rmdirSync(path, options) {
return rimrafSync(pathModule.toNamespacedPath(path), options);
}
options = validateRmdirOptions(options);
validateRmdirOptions(options);
const ctx = { path };
binding.rmdir(pathModule.toNamespacedPath(path), undefined, ctx);
return handleErrorFromBinding(ctx);