Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Ignore dot-files and dot-directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom MacWright committed May 1, 2011
1 parent 3c8af9d commit b3dd61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carto/external.js
Expand Up @@ -296,7 +296,7 @@ External.processors['.zip'] = function(tempPath, destPath, callback) {
}
else {
// if just a directory skip ahead
if (!path.extname(name)) {
if (!path.extname(name) || name[0] === '.') {
next();
} else {
var buffer = zf.readFile(name, function(err, buffer) {
Expand Down

0 comments on commit b3dd61e

Please sign in to comment.