Function: installPostCommitHook()
function installPostCommitHook(cwd): HookInstallResult;
Defined in: hooks.ts:25
Install the husky post-commit hook that nudges the user about new file types after each commit. Runs in a backgrounded subshell and always exits 0, so it never blocks the commit.
Parameters
| Parameter | Type |
|---|---|
cwd |
string |