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 782b93e commit f9efe3cCopy full SHA for f9efe3c
1 file changed
src/node_file.cc
@@ -3499,9 +3499,8 @@ static void CpSyncCopyDir(const FunctionCallbackInfo<Value>& args) {
3499
auto dest_file_path = dest / dir_entry.path().filename();
3500
auto dest_file_path_str = PathToString(dest_file_path);
3501
3502
- if (filter_fn &&
3503
- !(*filter_fn)(dir_entry_path_str.c_str(),
3504
- dest_file_path_str.c_str())) {
+ if (filter_fn && !(*filter_fn)(dir_entry_path_str.c_str(),
+ dest_file_path_str.c_str())) {
3505
continue;
3506
}
3507
0 commit comments