Skip to content

Commit

Permalink
fixup! fs: improve error perf of sync chmod+fchmod
Browse files Browse the repository at this point in the history
  • Loading branch information
CanadaHonk committed Sep 27, 2023
1 parent 914c656 commit 6bb5110
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/internal/fs/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ function fchmod(fd, mode) {
return binding.fchmodSync(fd, mode);
}

function unlink(path) {
path = pathModule.toNamespacedPath(getValidatedPath(path));
return binding.unlinkSync(path);
}

module.exports = {
readFileUtf8,
exists,
Expand Down

0 comments on commit 6bb5110

Please sign in to comment.