Files
jekyll/script/fmt
mrHoliday a559dfaa6e Update fmt (#6514)
Merge pull request 6514
2017-11-04 10:50:30 -04:00

9 lines
213 B
Bash
Executable File

#!/bin/bash
echo "Rubocop $(bundle exec rubocop --version)"
bundle exec rubocop -D $@
success=$?
if ((success != 0)); then
echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
fi
exit $success