mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +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.
5 lines
91 B
Bash
Executable file
5 lines
91 B
Bash
Executable file
#!/usr/bin/env bash
|
|
echo "This is STDOUT output"
|
|
echo "This is STDERR output" 1>&2
|
|
|
|
exit 1
|