From 7a9e1b0af4480b0d5d0cda3c429ff5c676299b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Wed, 8 Jul 2015 10:42:23 +0300 Subject: [PATCH] Fixed is-there api --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")); }