Skip to content

Commit 7d814c9

Browse files
committed
src: remove deadcode in node_file.cc
The implementation of the `fs.lchmod` method has been moved to JS-land
1 parent 67ecd05 commit 7d814c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_file.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,7 +2482,6 @@ void Initialize(Local<Object> target,
24822482

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

24872486
env->SetMethod(target, "chown", Chown);
24882487
env->SetMethod(target, "fchown", FChown);
@@ -2599,7 +2598,6 @@ void RegisterExternalReferences(ExternalReferenceRegistry* registry) {
25992598

26002599
registry->Register(Chmod);
26012600
registry->Register(FChmod);
2602-
// registry->Register(LChmod);
26032601

26042602
registry->Register(Chown);
26052603
registry->Register(FChown);

0 commit comments

Comments
 (0)