File: hook.sh

package info (click to toggle)
pre-commit 4.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,452 kB
  • sloc: python: 14,482; sh: 87; makefile: 4
file content (7 lines) | stat: -rwxr-xr-x 250 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/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