samxxu/ensureDir — pull request #2 by node-migrator-bot (2012-07-07 05:20:01+00:00)
Title: Hi! I fixed some code for you!

Hi!

I am migrationBot!

Did you know that `path.{exists,existsSync}` was moved to `fs.{exists,existsSync}`, and that `tty.setRawMode(mode)` was moved to `tty.ReadStream#setRawMode()` (i.e. `process.stdin.setRawMode()`) in node v0.8.0? Read more @[API changes between v0.6 and v0.8](https://github.com/joyent/node/wiki/API-changes-between-v0.6-and-v0.8)

I automatically made some changes I think will help you migrate your codebase to node v0.8.0, please review these changes and merge them if you feel they are useful, If they are not you can ignore this Pull Request.

Have a Nice Day!

--[migrationBot](https://github.com/blakmatrix/node-migrator-bot)