Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Hi! I fixed some code for you! #2

Merged
merged 1 commit into from

3 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

@tih-ra
Owner

Thank

@tih-ra tih-ra merged commit 112470f 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. @jfhbrook
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/alleup.js
View
2  lib/alleup.js
@@ -194,7 +194,7 @@ Alleup.prototype = {
},
loadConfig: function(resource) {
- if (path.existsSync(resource)) {
+ if (fs.existsSync(resource)) {
try {
config = JSON.parse(fs.readFileSync(resource));
} catch (err) {
Something went wrong with that request. Please try again.