NewExecutor creates a new hook executor backed by [DefaultRegistry].
(config *Config, workingDir string, env []string)
| 48 | |
| 49 | // NewExecutor creates a new hook executor backed by [DefaultRegistry]. |
| 50 | func NewExecutor(config *Config, workingDir string, env []string) *Executor { |
| 51 | return NewExecutorWithRegistry(config, workingDir, env, DefaultRegistry) |
| 52 | } |
| 53 | |
| 54 | // NewExecutorWithRegistry creates a new hook executor that resolves hook |
| 55 | // types against the supplied registry. |