Files
obs-websocket/.github/scripts/check-changes.sh
2022-08-04 22:53:29 -07:00

11 lines
238 B
Bash
Executable File

#!/bin/bash
dirty=$(git ls-files --modified)
set +x
if [[ $dirty ]]; then
echo "================================="
echo "Files were not formatted properly"
echo "$dirty"
echo "================================="
exit 1
fi