Permalink
Browse files

Add test for directories only

  • Loading branch information...
1 parent 6e9c88d commit 0960609a3a0e7d57eb719f1498881bcabd9cc827 @pvorb committed Feb 10, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/dir-only.js
View
@@ -0,0 +1,7 @@
+var dive = require("../");
+
+dive(process.cwd(), { directories: true, files: false },
+ function(err, file) {
+ if (err) throw err;
+ console.log(file);
+});

0 comments on commit 0960609

Please sign in to comment.