Permalink
Browse files

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

  • Loading branch information...
1 parent 529264f commit d84e7c31e7b57b8b7ae193ca474dd74669e85ea0 @jfhbrook jfhbrook committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/stores/FileStore.js
View
@@ -50,7 +50,7 @@ FileStore.prototype.add = function(obj){
FileStore.prototype.clear = function(fn){
var self = this;
debug('clear');
- path.exists(this.path, function(yes){
+ fs.exists(this.path, function(yes){
if (!yes) return fn();
debug('unlink %s', self.path);
fs.unlink(self.path, fn)

0 comments on commit d84e7c3

Please sign in to comment.