From af7a202ff661e3e9b27296b3f5ea331d7c446abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Wed, 8 Jul 2015 10:44:19 +0300 Subject: [PATCH] Fixed the ReadJson call --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 17f7178..cac6c43 100644 --- a/lib/index.js +++ b/lib/index.js @@ -83,7 +83,7 @@ GitStats.record = function (data, callback) { * @return {GitStats} The `GitStats` object. */ GitStats.get = function (callback) { - ReadJson(STORE_PATH, "utf-8", function (err, data) { + ReadJson(STORE_PATH, function (err, data) { if (err && err.code === "ENOENT") { return GitStats.save({}, function (err) {