Skip to content

Commit 3033b08

Browse files
committed
Fixed the getConfig callback
1 parent f571ff7 commit 3033b08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ GitStats.prototype.getConfig = function (callback) {
8787
}
8888
return {};
8989
}
90+
if (callback) {
91+
callback(null, data);
92+
}
9093
return data;
9194
};
9295

0 commit comments

Comments
 (0)