Closed Xemrox closed 2 years ago
Late to the party but I also found this in the original husky documentation. https://typicode.github.io/husky/#/?id=with-env-variables Which states Husky.Net should probably check for a set $CI too.
Hi, thanks for the PR. I'll close this issue for now, but you can open another one about $CI if you feel we need to implement it.
this issue is fixed due to PR #33.
Details
In an MSBuild environment its quite common to set variables to
false
instead of0
. Therefore I recommend to add a test to the $env:HUSKY variable for some kind offalse
in order to skip husky execution.