From c57631195441cc5ba64aa5f09f807d209fbdbc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Arboleda?= Date: Fri, 14 May 2021 22:01:07 -0500 Subject: [PATCH] src: remove commented code in `node_file.cc` The implementation of the `fs.lchmod` method has been moved to JS-land PR-URL: https://github.com/nodejs/node/pull/38693 Reviewed-By: Anna Henningsen Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Anto Aravinth --- src/node_file.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node_file.cc b/src/node_file.cc index d3bcb8fbd804c7..228e2260661391 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -2482,7 +2482,6 @@ void Initialize(Local 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); @@ -2599,7 +2598,6 @@ void RegisterExternalReferences(ExternalReferenceRegistry* registry) { registry->Register(Chmod); registry->Register(FChmod); - // registry->Register(LChmod); registry->Register(Chown); registry->Register(FChown);