You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now to the problem: I am aware of https://github.com/typicode/husky#monorepos and the suggestions stated there, but I'd like to avoid using additional tool to solve this particular problem. I've digged a bit into it and it seems Husky installs husky.sh and husky.local.sh into the .git/hooks dir. So adding:
Is there any caveat of using "${pwd}/${GIT_PREFIX}" to execute the cd command within husky.local.sh comparing to the current cd "hardcoded/relative/path?
In particular:
# husky.local.sh
packageManager=yarn
SUBPROJECT_DIR="`pwd`/${GIT_PREFIX}"
cd $SUBPROJECT_DIR
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi! First of all, thanks for this tool.
Now to the problem: I am aware of https://github.com/typicode/husky#monorepos and the suggestions stated there, but I'd like to avoid using additional tool to solve this particular problem. I've digged a bit into it and it seems Husky installs
husky.sh
andhusky.local.sh
into the.git/hooks
dir. So adding:to
husky.local.sh
prints:Is there any caveat of using
"${pwd}/${GIT_PREFIX}"
to execute thecd
command withinhusky.local.sh
comparing to the currentcd "hardcoded/relative/path
?In particular:
The text was updated successfully, but these errors were encountered: