Permalink
Browse files

Fix #1888 Add the dir-excluding pattern where it belongs

  • Loading branch information...
isaacs committed Dec 16, 2011
1 parent ed5a331 commit bc0b610bcf6f7cab8f3c3b078f9929ba8ecedd03
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils/excludes.js
View
@@ -137,7 +137,7 @@ function test (file, excludeList) {
&& rf.slice(-1) === "/"
&& excludes.indexOf(ex + "/**") === -1) {
// log.warn(ex + "/**", "adding dir-matching exclude pattern")
- excludes.push(ex + "/**")
+ excludes.splice(ii, 1, ex, ex + "/**")
ll ++
}
}

0 comments on commit bc0b610

Please sign in to comment.