Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Hi! I fixed some code for you! #3

Open
wants to merge 3 commits into from

2 participants

@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.

Have a Nice Day!

--migrationBot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 11 deletions.
  1. +11 −11 test_07062012.js
View
22 test_07062012.js
@@ -1,11 +1,11 @@
-path.exists
-path.exists;
-unless path.exists();
-path.exists(ignoreFilePath, function (exists) {};
-path.exists (ignoreFilePath, function (exists) {
-path.exists(oldIgnoreFilePath, function (exists) {
-path.existsSync
-if (path.existsSync(dir + '/' + args[i])) {
-if (path.existsSync(flag)) fs.unlinkSync(flag);
-tty.setRawMode
-tty.setRawMode(true);
+fs.exists
+fs.exists;
+unless fs.exists();
+fs.exists(ignoreFilePath, function (exists) {};
+fs.exists (ignoreFilePath, function (exists) {
+fs.exists(oldIgnoreFilePath, function (exists) {
+fs.existsSync
+if (fs.existsSync(dir + '/' + args[i])) {
+if (fs.existsSync(flag)) fs.unlinkSync(flag);
+process.stdin.setRawMode
+process.stdin.setRawMode(true);
Something went wrong with that request. Please try again.