Skip to content

Commit 5f0c814

Browse files
TrottBethGriggs
authored andcommittedDec 7, 2020
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 4813d91 commit 5f0c814

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
@@ -884,7 +884,7 @@ function rmdirSync(path, options) {
884884
return rimrafSync(pathModule.toNamespacedPath(path), options);
885885
}
886886

887-
options = validateRmdirOptions(options);
887+
validateRmdirOptions(options);
888888
const ctx = { path };
889889
binding.rmdir(pathModule.toNamespacedPath(path), undefined, ctx);
890890
return handleErrorFromBinding(ctx);

0 commit comments

Comments
 (0)
Please sign in to comment.