Skip to content

Commit 1b91363

Browse files
skotnicznymarijnh
authored andcommitted
Remove unused argument
1 parent 9b40fee commit 1b91363

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/solutions/20_1_search_tool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const {statSync, readdirSync, readFileSync} = require("fs");
33
let searchTerm = new RegExp(process.argv[2]);
44

55
for (let arg of process.argv.slice(3)) {
6-
search(arg, Math.min);
6+
search(arg);
77
}
88

99
function search(file) {

0 commit comments

Comments
 (0)