This commit is contained in:
AJ ONeal 2010-11-20 22:08:08 -07:00
parent 7ad00f067b
commit 076c710594
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ node-walk-test
console.log(err); console.log(err);
return; return;
} }
o.dirs.forEach(function (item, i, arr) { sorted.dirs.forEach(function (item, i, arr) {
if (item.name.match(/trash/i)) { if (item.name.match(/trash/i)) {
console.log('found a trash'); console.log('found a trash');
arr.splice(i,1); arr.splice(i,1);