diff options
author | isaacs <i@izs.me> | 2011-12-16 06:05:58 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-12-16 06:15:29 +0400 |
commit | bc0b610bcf6f7cab8f3c3b078f9929ba8ecedd03 (patch) | |
tree | abc2db75771f922e14c2c08224a40d68064ae15b | |
parent | ed5a331fe6be1e72bb8472ba22458dc0577f64af (diff) |
Fix #1888 Add the dir-excluding pattern where it belongs
-rw-r--r-- | lib/utils/excludes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/excludes.js b/lib/utils/excludes.js index 9b407c945..75fe41c05 100644 --- a/lib/utils/excludes.js +++ b/lib/utils/excludes.js @@ -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 ++ } } |