Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi! I fixed some code for you! #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

node-migrator-bot
Copy link

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.

Have a Nice Day!

--migrationBot

@dsc
Copy link
Owner

dsc commented Jul 10, 2012

Won't this break compat with node < 0.8?

@dsc
Copy link
Owner

dsc commented Jul 10, 2012

That is, shouldn't it be: exists = fs.existsSync || path.existsSync ?

@rektide
Copy link

rektide commented Jul 24, 2012

I'm not sure how to attach a commit to this issue directly. My fix is part of this pull request, and it indeed does as you consider @dsc, it uses (fs.exists || path.exists) to avoid breaking older node versions:
#9 is a pull incorporating the specific commit rektide/connect-compiler@57ca095

@ashtuchkin
Copy link

we need this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants