Permalink
Browse files

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

  • Loading branch information...
1 parent 33cdf74 commit 50b77be493eeefa433ba44e9e429ce8ac2448633 @blakmatrix blakmatrix committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/config.js
View
@@ -20,7 +20,7 @@ module.exports = function (cb) {
})
}
- path.exists(file, function (ex) {
+ fs.exists(file, function (ex) {
if (!ex) prompt(function (vars) {
fs.writeFile(file, JSON.stringify(vars), function (err) {
if (err) console.error(err)

0 comments on commit 50b77be

Please sign in to comment.