Skip to content

Commit 3c0d521

Browse files
committed
⬆️ 2.9.12 🎉
1 parent 32ba756 commit 3c0d521

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-stats",
3-
"version": "2.9.11",
3+
"version": "2.9.12",
44
"description": "Local git statistics including GitHub-like contributions calendars.",
55
"main": "lib/index.js",
66
"bin": {

scripts/migration/2.0.0.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ var ReadJson = require("r-json")
1111
const DATA_FILE = Abs("~/.git-stats");
1212

1313
function migrate() {
14+
var data = {};
15+
1416
try {
15-
var data = ReadJson(DATA_FILE)
17+
data = ReadJson(DATA_FILE)
1618
} catch (e) {
1719
if (e.code === "ENOENT") {
1820
return;

0 commit comments

Comments
 (0)