Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 6e03c39

Browse files
committed
Merge pull request #325 from tschaub/fix-find
Fix find for use with a string arg
2 parents 8437aee + 11bc0ca commit 6e03c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let prefixPath = null
1717

1818
function find(startDir, names) {
1919
let localNames;
20-
if (typeof name === 'string') {
20+
if (typeof names === 'string') {
2121
localNames = [names]
2222
} else {
2323
localNames = names

0 commit comments

Comments
 (0)