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 57e0193 commit b500318Copy full SHA for b500318
index.js
@@ -20,7 +20,6 @@ const createPattern = (matcher) => {
20
if (typeof matcher === 'function') {
21
return matcher;
22
}
23
- const isString = typeof matcher === 'string';
24
if (typeof matcher === 'string') {
25
const glob = picomatch(matcher);
26
return (string) => matcher === string || glob(string);
0 commit comments