We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69cd909 commit 3bd15a7Copy full SHA for 3bd15a7
lib/file-list.js
@@ -99,7 +99,7 @@ List.prototype._isExcluded = function (path) {
99
//
100
// Returns the match or `undefined` if none found.
101
List.prototype._isIncluded = function (path) {
102
- return this._patterns.find(function (pattern) {
+ return _.find(this._patterns, function (pattern) {
103
return mm(path, pattern.pattern)
104
})
105
}
@@ -133,7 +133,7 @@ List.prototype._exists = function (path) {
133
134
135
136
- return !!patterns.find(function (pattern) {
+ return !!_.find(patterns, function (pattern) {
137
return self._findFile(path, pattern)
138
139
0 commit comments