⬆️ 2.9.12 🎉

This commit is contained in:
Ionică Bizău 2016-10-23 10:47:38 +03:00
parent 32ba756865
commit 3c0d521b1a
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "git-stats",
"version": "2.9.11",
"version": "2.9.12",
"description": "Local git statistics including GitHub-like contributions calendars.",
"main": "lib/index.js",
"bin": {

View file

@ -11,8 +11,10 @@ var ReadJson = require("r-json")
const DATA_FILE = Abs("~/.git-stats");
function migrate() {
var data = {};
try {
var data = ReadJson(DATA_FILE)
data = ReadJson(DATA_FILE)
} catch (e) {
if (e.code === "ENOENT") {
return;