process.env.npm_lifecycle_event
doesn't get set when running through a hook
#39
Labels
process.env.npm_lifecycle_event
doesn't get set when running through a hook
#39
I created a simple repo that uses git-validate to add pre-push hooks to your package.json. It was brought to my attention that the npm_lifecycle_event is not set when running through a hook. I wanted to bring it up here to see if you've ran into this and what your thoughts are on fixing.
Here's the link to the original issue in my repo:
sturdynut/git-prepush-hook#1
I'd be happy to help fix, but just not sure how.
The text was updated successfully, but these errors were encountered: