`user-hooks` not working for me
pando85 opened this issue · 2 comments
pando85 commented
I received a PR on my repo (rash-sh/rash#90) to implement a more powerful subset of hooks. I had cargo-husky
workings previously but when I'm going to tested this new change it stops working.
How could I debug deeply?
pando85 commented
It is clearly related with envar CARGO_TARGET_DIR
. If you set it to other place cargo-husky
stops workings correctly.
ezpuzz commented
I figured this out the hard way by checking the E:\Temp\cargo\debug\build\cargo-husky-a083cf66e5edade7\stderr
file output. I had overridden CARGO_TARGET_DIR to E:\temp\cargo