Skip to content
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

Cannot read property 'toString' of null when git is missing #17

Closed
TimothyJones opened this issue Aug 9, 2021 · 0 comments
Closed

Cannot read property 'toString' of null when git is missing #17

TimothyJones opened this issue Aug 9, 2021 · 0 comments

Comments

@TimothyJones
Copy link
Collaborator

When the git executable is missing, gitDescribeSync fails with the rather cryptic:

TypeError: Cannot read property 'toString' of null
    at handleProcessResult (...../node_modules/git-describe/lib/git-describe.js:70:20)

(you can reproduce this easily by changing the name of the executable on line 40)

It would be excellent if we could get a clearer error thrown in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant