samxxu/ensureDir — pull request #1 by aprobus (2012-06-08 14:53:36+00:00)
Title: General Fixes

path.exists is being deprecated, I switched it to use fs.exists when available

Made the "mode" and "callback" parameters optional, as they are in fs.mkdir