Fixed the variables

This commit is contained in:
Ionică Bizău 2015-07-12 16:58:56 +03:00
parent dfea87a9f4
commit a57746bbb4
1 changed files with 2 additions and 2 deletions

View File

@ -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 () {