Skip to content

Commit

Permalink
fs: remove unused assignment
Browse files Browse the repository at this point in the history
PR-URL: #35642
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
  • Loading branch information
Trott authored and BethGriggs committed Dec 7, 2020
1 parent 4813d91 commit 5f0c814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,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);
Expand Down

0 comments on commit 5f0c814

Please sign in to comment.