Permalink
Browse files

Merge branch 'master' of https://github.com/Filirom1/findup

  • Loading branch information...
2 parents 3b1cb32 + 1410b3f commit f9e7736e69a6e64ad4882b8af9d14af2f1efd047 Filirom1 committed Apr 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -21,8 +21,8 @@ module.exports = function findup(dir, iterator, cb){
module.exports.sync = function(dir, iteratorSync){
if(typeof iteratorSync === 'string'){
var file = iteratorSync;
- iteratorSync = function(dir, cb){
- return Path.existsSync(Path.join(dir, file), cb);
+ iteratorSync = function(dir){
+ return Path.existsSync(Path.join(dir, file));
}
}
var initialDir = dir;

0 comments on commit f9e7736

Please sign in to comment.