We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 849b848 commit a3b912bCopy full SHA for a3b912b
src/node_file.cc
@@ -3516,9 +3516,8 @@ static void CpSyncCopyDir(const FunctionCallbackInfo<Value>& args) {
3516
auto dest_file_path = dest / dir_entry.path().filename();
3517
auto dest_file_path_str = PathToString(dest_file_path);
3518
3519
- if (filter_fn &&
3520
- !(*filter_fn)(dir_entry_path_str.c_str(),
3521
- dest_file_path_str.c_str())) {
+ if (filter_fn && !(*filter_fn)(dir_entry_path_str.c_str(),
+ dest_file_path_str.c_str())) {
3522
continue;
3523
}
3524
0 commit comments