mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
self was not defined
This commit is contained in:
parent
28a2881f9e
commit
5147e5ba7c
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ GitStats.prototype.get = function (callback) {
|
|||
* @return {GitStats} The `GitStats` object.
|
||||
*/
|
||||
GitStats.prototype.save = function (stats, callback) {
|
||||
WriteJson(self.path, stats, callback);
|
||||
WriteJson(this.path, stats, callback);
|
||||
return this;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue