Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fire complete for a dir with just hidden files

  • Loading branch information...
commit 0b16368f49594f286c49626fda26e959d6f8d9a1 1 parent 193e256
@Pike Pike authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 dive.js
View
4 dive.js
@@ -75,8 +75,8 @@ module.exports = function(dir, opt, action, complete) {
});
}
});
- //empty directories
- if(!list.length && !todo){
+ //empty directories, or with just hidden files
+ if (!todo){
complete();
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.