Closed Tychus closed 1 year ago
Hi @Tychus, I merged the PR since this is not a blocker to this feature ... but if you have time please add corresponding information to the documentations also, would make it easier for others to use your feature. and thank you for your contribution.
Description
Husky so far is unable to handle
install
on submodules. This PR attempts to solve that by adding:IgnoreSubmodule
option to bothattach
andinstall
which will either prevent the whole target from being executed (same as Husku = 1) or in the case of install make it break the installation process if it detects it's a submodule.IgnoreSubdmoule
is not specified the install command will then attach the husky hooks to the correct.git
directory which is not.git
in the case of submodules.See more details here #69
Fixes issue (#69)
Type of change
Checklist