Skip to content

Commit

Permalink
Fixed a bug with scanning files recursively.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefarris committed Oct 21, 2024
1 parent a3191db commit 9f51a99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1844,17 +1844,17 @@ class NodeClam {
}
}
}

// Scan the files in the allFiles array
return finishScan();
}
} else {
// Just scan all the files
allFiles = theFiles;

// Scan the files in the allFiles array
return finishScan();
}

// If not scanning recursively, just scan all the files
allFiles = theFiles;

// Scan the files in the allFiles array
return finishScan();
};

// If string is provided in files param, forgive them... create a single element array
Expand Down

0 comments on commit 9f51a99

Please sign in to comment.