Skip to main content

Module hook

Module hook 

Source
Expand description

Install/remove a managed pre-commit hook that runs envo scan --staged.

Functionsยง

install
Install (or update) the managed block in .git/hooks/pre-commit. Returns the path to the hook file.
uninstall
Remove the managed block. Returns whether a block was present.