From a57746bbb4e538e02d68cdfbe91935e99460ed15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Sun, 12 Jul 2015 16:58:56 +0300 Subject: [PATCH] Fixed the variables --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 4de2d28..69bac41 100644 --- a/lib/index.js +++ b/lib/index.js @@ -30,11 +30,11 @@ function GitStats(config, data) { if (typeof config === "object") { self.config = config; } else { - this.config_path = Deffy(confPath, CONFIG_PATH) + this.config_path = Deffy(config, CONFIG_PATH) self.config = this.getConfig(); } - this.path = Deffy(confPath, DEFAULT_STORE); + this.path = Deffy(data, DEFAULT_STORE); } GitStats.prototype.getConfig = function () {