-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error Error: ENOENT, open '~/.git-stats' #2
Comments
Yeah, that's an bug... We should check here if the file doesn't exists: Line 98 in c70ecec
If so, it should be created: if (err && err.code === "ENOENT") {
return GitStats.save({}, function (err) {
callback(err, {});
});
} I'd appreciate a pull request with this change! Thanks! 😄 In the meantime you can fix it quickly by running |
Ah yeah, I did that then I realized I need to override the git commit command in my shell. Any way to import the history? (I don't use the |
@ionelmc This is for you: https://github.com/IonicaBizau/git-stats#importing-and-deleting-commits 📦 🎁 😄 |
|
@atuttle +1 for |
I get this when running git-stats:
Seems it doesn't create this file. What's going on here?
Details
The text was updated successfully, but these errors were encountered: