Fixed the getConfig callback
This commit is contained in:
parent
f571ff73ea
commit
3033b08f70
|
@ -87,6 +87,9 @@ GitStats.prototype.getConfig = function (callback) {
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
if (callback) {
|
||||||
|
callback(null, data);
|
||||||
|
}
|
||||||
return data;
|
return data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue