substack/node-mkdirp — pull request #15 by isaacs (2012-03-28 21:01:59+00:00)
Title: Bonus Pack of 3 Commits

Special discount!

1. Upgrade to use tap 0.2 so that you can get colorful diffs of mkdirp test failures.
2. Correct the broken sync behavior (errors should be thrown, not returned.)
3. Return (from the function in sync, or to the callback normally) the first directory successfully created (or null if nothing was done), so that the caller knows what happened.