diff --git a/lib/index.js b/lib/index.js index 025b5e9..17f7178 100644 --- a/lib/index.js +++ b/lib/index.js @@ -316,7 +316,7 @@ GitStats.authorsPie = function (options, callback) { radius: process.stdout.rows / 2 || 20 }); - if (!IsThere.sync(options.repo)) { + if (!IsThere(options.repo)) { return callback(new Error("Repository is missing.")); }