mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Specify a filename on a per hook basis and pre-commit will write the STDOUT and STDERR of that hook into the file. Useful for CI. Resolves #499.
6 lines
134 B
YAML
6 lines
134 B
YAML
- id: logfile test hook
|
|
name: Logfile test hook
|
|
entry: bin/hook.sh
|
|
language: script
|
|
files: .
|
|
log_file: test.log
|