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 24, 2023
1 parent 187fb83 commit 86a17b5
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 @@ -3415,7 +3415,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 86a17b5

Please sign in to comment.