Created
January 18, 2013 18:00
-
-
Save thehydroimpulse/4566647 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this._paths.forEach(function(p){ | |
| fs.readdir(p, function(error, dir){ | |
| if (error) throw Error(error); | |
| dir.forEach(function(_dir){ | |
| if (_dir.match("tower-packages")) return; | |
| // Check if `package.js` exists: | |
| fs.exists(path.join(p, _dir, 'package.js'), function(exists){ | |
| if (exists) { | |
| } | |
| }); | |
| }); | |
| }); | |
| }); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
takes 16 - 32ms