pub fn run_hooks(
config: &PluginsConfig,
event: HookEvent,
cwd: &Path,
env: &[(&str, String)],
) -> Result<(), ConfigError>pub fn run_hooks(
config: &PluginsConfig,
event: HookEvent,
cwd: &Path,
env: &[(&str, String)],
) -> Result<(), ConfigError>