Permalink
Browse files

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

  • Loading branch information...
1 parent 6246430 commit 1e6e82180a728deffacb15096958cf2b87f18193 @jfhbrook jfhbrook committed Jul 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.markdown
  2. +1 −1 examples/example.js
View
@@ -30,7 +30,7 @@ See `examples/example.js`:
// select existing files
asyncItParallel.filter(files, function(file, cont) {
- path.exists(file, function(exists) {
+ fs.exists(file, function(exists) {
cont(null, exists);
});
}, function(err, existingFiles) {
View
@@ -9,7 +9,7 @@ files = files.map(function(file) {
// select existing files
asyncItParallel.filter(files, function(file, cont) {
- path.exists(file, function(exists) {
+ fs.exists(file, function(exists) {
cont(null, exists);
});
}, function(err, existingFiles) {

0 comments on commit 1e6e821

Please sign in to comment.