Fixed is-there api
This commit is contained in:
parent
4af4133265
commit
7a9e1b0af4
|
@ -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."));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue