Skip to content

Commit

Permalink
re-add match method
Browse files Browse the repository at this point in the history
I want to avoid any regressions. I meant to do this before publish.
  • Loading branch information
jonschlinkert committed Apr 10, 2019
1 parent 89efcff commit 4623291
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Expand Up @@ -76,6 +76,12 @@ const micromatch = (list, patterns, options) => {
return matches;
};

/**
* Backwards compatibility
*/

micromatch.match = micromatch;

/**
* Returns a matcher function from the given glob `pattern` and `options`.
* The returned function takes a string to match as its only argument and returns
Expand Down

0 comments on commit 4623291

Please sign in to comment.