Skip to content

Commit 7f25fe8

Browse files
committed
fs: remove unused assignment
PR-URL: #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>
1 parent 2c2c87e commit 7f25fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ function rmdirSync(path, options) {
888888
return rimrafSync(pathModule.toNamespacedPath(path), options);
889889
}
890890

891-
options = validateRmdirOptions(options);
891+
validateRmdirOptions(options);
892892
const ctx = { path };
893893
binding.rmdir(pathModule.toNamespacedPath(path), undefined, ctx);
894894
return handleErrorFromBinding(ctx);

0 commit comments

Comments
 (0)