Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Hi! I fixed some code for you! #6

merged 1 commit into from

3 participants



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

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.

For backwards compatibility please use something like fs.existsSync || (fs.existsSync = path.existsSync);, fs.exists || (fs.exists = path.exists);, and tty.setRawMode || (tty.setRawMode = process.stdin.setRawMode); respectively.

Have a Nice Day!


@nornagon nornagon merged commit 57a9f7e into nornagon:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 7, 2012
  1. @blakmatrix
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/zap
2  bin/zap
@@ -51,7 +51,7 @@ if (process.argv[2] === '--one') {
// run a suite
var test_targets = []
if (process.argv.length <= 2) {
- if (!path.existsSync('./test')) {
+ if (!fs.existsSync('./test')) {
"Test directory (./test) not found. zap suggests:\n\n" +
"\x1b[36m$\x1b[0m mkdir ./test\n" +
Something went wrong with that request. Please try again.