yolobs-studio/CI/check-format.sh
2019-09-22 23:19:10 +02:00

11 lines
No EOL
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