Skip to content

Commit 4cfaae9

Browse files
fix(file-list): Use correct find function
1 parent e0e1f26 commit 4cfaae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/file-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var List = function (patterns, excludes, emitter, preprocess, batchInterval) {
8585
// Returns `undefined` if no match, otherwise the matching
8686
// pattern.
8787
List.prototype._isExcluded = function (path) {
88-
return this._excludes.find(function (pattern) {
88+
return _.find(this._excludes, function (pattern) {
8989
return mm(path, pattern)
9090
})
9191
}

0 commit comments

Comments
 (0)