Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Hi! I fixed some code for you! #4

Closed
wants to merge 1 commit into from

3 participants

node-migrator-bot José F. Romaniello Farrin Reid
node-migrator-bot

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

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!

--migrationBot

José F. Romaniello
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 07, 2012
Farrin Reid blakmatrix [fix] path.existsSync was moved to fs.existsSync bc3fe82
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  bin/winser
2  bin/winser
@@ -42,7 +42,7 @@ if (process.platform !== "win32"){
42 42 return;
43 43 }
44 44
45   -if (!path.existsSync(path.join(program.path, "package.json"))){
  45 +if (!fs.existsSync(path.join(program.path, "package.json"))){
46 46 log(program.path + " doesn't seems to be a node application path.\nIt doesn't contains a package.json file.");
47 47 process.exit();
48 48 return;

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.