Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Hi! I fixed some code for you! #13

merged 1 commit into from

3 participants

node-migrator-bot TJ Holowaychuk Farrin Reid


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!


TJ Holowaychuk tj merged commit 460aec3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 7, 2012
  1. Farrin Reid
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/modular/content/lib/helpers.js
2  templates/modular/content/lib/helpers.js
@@ -7,7 +7,7 @@ var fs = require('fs'),
var isDirectory = exports.isDirectory = function(dir) {
var stat;
- return path.existsSync(dir) && (stat = fs.statSync(dir)) &&
+ return fs.existsSync(dir) && (stat = fs.statSync(dir)) &&
Something went wrong with that request. Please try again.