mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-11-16 00:48:34 +01:00
Fixed the getConfig callback
This commit is contained in:
parent
f571ff73ea
commit
3033b08f70
1 changed files with 3 additions and 0 deletions
|
@ -87,6 +87,9 @@ GitStats.prototype.getConfig = function (callback) {
|
|||
}
|
||||
return {};
|
||||
}
|
||||
if (callback) {
|
||||
callback(null, data);
|
||||
}
|
||||
return data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue