Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: rename function name
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
  • Loading branch information
daeyeon committed May 25, 2022
commit dca7ebd5b7998e517855ef90f8ad72c30517182e
4 changes: 2 additions & 2 deletions src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ void AfterStringPtr(uv_fs_t* req) {
}
}

void AfterScanDirWithTypes(uv_fs_t* req) {
void AfterScanDir(uv_fs_t* req) {
FSReqBase* req_wrap = FSReqBase::from_req(req);
FSReqAfterScope after(req_wrap, req);

Expand Down Expand Up @@ -1616,7 +1616,7 @@ static void ReadDir(const FunctionCallbackInfo<Value>& args) {
args,
"scandir",
encoding,
AfterScanDirWithTypes,
AfterScanDir,
uv_fs_scandir,
*path,
0 /*flags*/);
Expand Down