mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-23 17:29:04 -06:00
8 lines
250 B
Bash
Executable File
8 lines
250 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Intentionally write mixed encoding to the output. This should not crash
|
|
# pre-commit and should write bytes to the output.
|
|
# '☃'.encode() + '²'.encode('latin1')
|
|
echo -e '\xe2\x98\x83\xb2'
|
|
# exit 1 to trigger printing
|
|
exit 1
|