Comparing version 0.3.1 to 0.3.2
@@ -21,3 +21,7 @@ // Courtesy of [stygstra](https://gist.github.com/514983) | ||
if (!relnames.length) return callbacks.finished(null) | ||
if (!relnames.length) { | ||
counter -= 1; | ||
if (!counter) callbacks.finished(null); | ||
return; | ||
} | ||
@@ -34,4 +38,4 @@ relnames.forEach(function(relname, index, relnames) { | ||
if(stat.isDirectory() && name !== '.svn' && name !== '.git') { | ||
walk(name, options, callbacks); | ||
if(stat.isDirectory()) { | ||
if (name !== '.svn' && name !== '.git') walk(name, options, callbacks); | ||
} else { | ||
@@ -38,0 +42,0 @@ if (!options.mask || name.match(options.mask)) { |
@@ -5,3 +5,3 @@ { | ||
"description": "NodeJS port of kss: A methodology for documenting CSS and generating styleguides", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
577365
69
6195