Skip to content

Commit

Permalink
src: remove commented code in node_file.cc
Browse files Browse the repository at this point in the history
The implementation of the `fs.lchmod` method has been moved to JS-land

PR-URL: #38693
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
  • Loading branch information
juanarbol authored and richardlau committed Jul 20, 2021
1 parent 846a138 commit 2c11d3e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2435,7 +2435,6 @@ void Initialize(Local<Object> target,

env->SetMethod(target, "chmod", Chmod);
env->SetMethod(target, "fchmod", FChmod);
// env->SetMethod(target, "lchmod", LChmod);

env->SetMethod(target, "chown", Chown);
env->SetMethod(target, "fchown", FChown);
Expand Down

0 comments on commit 2c11d3e

Please sign in to comment.