mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-09-29 19:51:29 +02:00
Fixed the getConfig callback
This commit is contained in:
parent
f571ff73ea
commit
3033b08f70
@ -87,6 +87,9 @@ GitStats.prototype.getConfig = function (callback) {
|
||||
}
|
||||
return {};
|
||||
}
|
||||
if (callback) {
|
||||
callback(null, data);
|
||||
}
|
||||
return data;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user