Skip to content

Commit 6bb5110

Browse files
committed
fixup! fs: improve error perf of sync chmod+fchmod
1 parent 914c656 commit 6bb5110

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/internal/fs/sync.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@ function fchmod(fd, mode) {
105105
return binding.fchmodSync(fd, mode);
106106
}
107107

108-
function unlink(path) {
109-
path = pathModule.toNamespacedPath(getValidatedPath(path));
110-
return binding.unlinkSync(path);
111-
}
112-
113108
module.exports = {
114109
readFileUtf8,
115110
exists,

0 commit comments

Comments
 (0)