Fixed is-there api

This commit is contained in:
Ionică Bizău 2015-07-08 10:42:23 +03:00
parent 4af4133265
commit 7a9e1b0af4

View file

@ -316,7 +316,7 @@ GitStats.authorsPie = function (options, callback) {
radius: process.stdout.rows / 2 || 20 radius: process.stdout.rows / 2 || 20
}); });
if (!IsThere.sync(options.repo)) { if (!IsThere(options.repo)) {
return callback(new Error("Repository is missing.")); return callback(new Error("Repository is missing."));
} }