-
Notifications
You must be signed in to change notification settings - Fork 124
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
Improve error message if git not in path #57
Comments
I've used https://github.com/yaauie/cliver which works well, if we don't mind adding a dependency. |
@benbalter Alternatively, we could add a |
Makes sense. Know that you're the dependency police. Cliver basically does that, and generally makes more sense when it's a hard, rather than optional dependency. |
Totally meant to make a PR but forgot to create a branch first... Welp. Fixed! Thanks. 😄 |
The update looks good when just running Unfortunately, now I see an error occur when
|
On a windows box that does not have git on the path (standard github desktop install), running
jekyll build
resulted in the following error:Adding the verbose flag gave a little more context
Some light Googling landed here:
github-metadata/lib/jekyll-github-metadata/ghp_metadata_generator.rb
Lines 52 to 61 in 4b94b36
And the going back to the project root I saw the ability to add
repository: username/repo-name
to config and all was well: https://github.com/jekyll/github-metadata/tree/4b94b3693ca40ae3583e7f3e389e6d83e35e66b7#usageA nicer error message may have saved a few steps :)
The text was updated successfully, but these errors were encountered: