Skip to content

Commit

Permalink
[fix] path.exists was moved to fs.exists
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Jul 7, 2012
1 parent 33cdf74 commit 50b77be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50b77be

Please sign in to comment.