Skip to content

Commit

Permalink
fixup! fixup! fs: improve error performance of chownSync
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Sep 26, 2023
1 parent 8437da5 commit d1ed9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3426,7 +3426,7 @@ static void CreatePerIsolateProperties(IsolateData* isolate_data,
SetMethod(isolate, target, "fchmod", FChmod);

SetMethod(isolate, target, "chown", Chown);
SetMethodNoSideEffect(isolate, target, "chownSync", ChownSync);
SetMethod(isolate, target, "chownSync", ChownSync);
SetMethod(isolate, target, "fchown", FChown);
SetMethod(isolate, target, "lchown", LChown);

Expand Down

0 comments on commit d1ed9ff

Please sign in to comment.