Skip to content

Commit

Permalink
fix(file-list): Use correct find function
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 25, 2015
1 parent e0e1f26 commit 4cfaae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file-list.js
Expand Up @@ -85,7 +85,7 @@ var List = function (patterns, excludes, emitter, preprocess, batchInterval) {
// Returns `undefined` if no match, otherwise the matching
// pattern.
List.prototype._isExcluded = function (path) {
return this._excludes.find(function (pattern) {
return _.find(this._excludes, function (pattern) {
return mm(path, pattern)
})
}
Expand Down

0 comments on commit 4cfaae9

Please sign in to comment.