-
Notifications
You must be signed in to change notification settings - Fork 59
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
Use in empty git repository #32
Comments
yeah; that's a known issue that I haven't found a solid "fix" for yet -- do you have any ideas? if so, would you like to submit a PR? |
wrap in a try/catch and check for ENOENT? |
@daurnimator maybe; but what's expected? return |
|
https://github.com/NiceLabs/git-rev Support empty-repository |
@kurttheviking I also believe this package should have a feature (or default) to return Error: [git-rev-sync] no git repository found Error: ENOENT: no such file or directory |
When used in an empty git repository I get:
The text was updated successfully, but these errors were encountered: