Take the data path from config

This commit is contained in:
Ionică Bizău 2015-07-12 17:04:23 +03:00
parent 56d5707ebe
commit eeed9274c7
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ function GitStats(config, data) {
self.config = this.getConfig();
}
if (self.config.data_path && !data) {
data = selc.config.data_path;
}
this.path = Abs(Deffy(data, DEFAULT_STORE));
}