Fixed the getConfig callback

This commit is contained in:
Ionică Bizău 2015-11-19 12:42:57 +02:00
parent f571ff73ea
commit 3033b08f70

View file

@ -87,6 +87,9 @@ GitStats.prototype.getConfig = function (callback) {
}
return {};
}
if (callback) {
callback(null, data);
}
return data;
};