Permalink
Browse files

Merge pull request #1 from node-migrator-bot/clean

Update example code.
  • Loading branch information...
2 parents 6246430 + 1e6e821 commit 9a673f042da89ab568795050741260e4361850a5 @tobie committed Jul 26, 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 9a673f0

Please sign in to comment.