Permalink
Browse files

[fix] path.existsSync was moved to fs.existsSync

  • Loading branch information...
1 parent 50cc3b0 commit a6fb9e3f4c3c1b06e6eb02242c5064164e7bed48 @jfhbrook jfhbrook committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/alleup.js
View
@@ -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) {

0 comments on commit a6fb9e3

Please sign in to comment.