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 <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
  • Loading branch information
juanarbol authored and danielleadams committed May 31, 2021
1 parent e8192b5 commit c576311
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 c576311

Please sign in to comment.