mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
Fixed is-there api
This commit is contained in:
parent
4af4133265
commit
7a9e1b0af4
1 changed files with 1 additions and 1 deletions
|
@ -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."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue