Browse files

ignore stupid macosx temporary hidden folders

  • Loading branch information...
1 parent c53b27a commit a50e48e1501f52987306733c38ceb196d2a9a95a @maxogden maxogden committed Jul 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 index.js
View
1 index.js
@@ -34,6 +34,7 @@ module.exports = function (inStream) {
var s = findit(tmpDir);
var files = [];
s.on('file', function (file) {
+ if (file.match(/__MACOSX/)) return;
if (file.match(/\.shp$|\.kml$/i)) files.push(file);
});
s.on('end', next.ok.bind(null, files));

0 comments on commit a50e48e

Please sign in to comment.