Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

minimatch.match: make options optional #26

Closed
wants to merge 1 commit into from

2 participants

@jonathanong

No description provided.

@isaacs
Owner

Landed on b5114a7. Thanks!

@isaacs isaacs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 18, 2014
  1. @jonathanong
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  minimatch.js
View
1  minimatch.js
@@ -813,6 +813,7 @@ function makeRe () {
}
minimatch.match = function (list, pattern, options) {
+ options = options || {}
var mm = new Minimatch(pattern, options)
list = list.filter(function (f) {
return mm.match(f)
Something went wrong with that request. Please try again.