We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90c9f1d commit d7ae105Copy full SHA for d7ae105
src/node_file.cc
@@ -608,8 +608,7 @@ void AfterScanDir(uv_fs_t* req) {
608
break;
609
if (r != 0) {
610
return req_wrap->Reject(
611
- UVException(r, nullptr, req_wrap->syscall(),
612
- static_cast<const char*>(req->path)));
+ UVException(r, nullptr, req_wrap->syscall(), req->path));
613
}
614
615
MaybeLocal<Value> filename =
@@ -650,8 +649,7 @@ void AfterScanDirWithTypes(uv_fs_t* req) {
650
649
651
652
653
654
655
656
657
0 commit comments