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 jasnell committed May 21, 2021
1 parent aa0e4eb commit c9269a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,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 Expand Up @@ -2599,7 +2598,6 @@ void RegisterExternalReferences(ExternalReferenceRegistry* registry) {

registry->Register(Chmod);
registry->Register(FChmod);
// registry->Register(LChmod);

registry->Register(Chown);
registry->Register(FChown);
Expand Down

0 comments on commit c9269a4

Please sign in to comment.