Revision c9346ef522230e02520e75a53c226c5a75b342b6 authored by jekyllbot on 12 April 2018, 16:56:48 UTC, committed by jekyllbot on 12 April 2018, 16:56:48 UTC
1 parent 8f78afe
Raw File
fmt
#!/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
back to top