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

Commit 11bc0ca

Browse files
committed
Fix find for use with a string arg
1 parent 8437aee commit 11bc0ca

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)