mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
Take the data path from config
This commit is contained in:
parent
56d5707ebe
commit
eeed9274c7
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ function GitStats(config, data) {
|
||||||
self.config = this.getConfig();
|
self.config = this.getConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self.config.data_path && !data) {
|
||||||
|
data = selc.config.data_path;
|
||||||
|
}
|
||||||
|
|
||||||
this.path = Abs(Deffy(data, DEFAULT_STORE));
|
this.path = Abs(Deffy(data, DEFAULT_STORE));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue