0
0
mirror of https://github.com/letic/Shell-Scripts.git synced 2024-09-28 05:56:04 +00:00

Update pre-commit-rubocop

This commit is contained in:
Mark McDonnell 2016-04-01 21:16:55 +01:00
parent 0d90ea8617
commit feb5f11c97

View File

@ -17,7 +17,7 @@ errors=$(\
--cpu-shares 1024 \
--rm=true \
--volume $app:/app \
bbcnews/rubocop-config --format simple --fail-level F 2> /dev/null | grep '^F:' | wc -l | tr -d '[[:space:]])
bbcnews/rubocop-config --format simple --fail-level F 2> /dev/null | grep '^F:' | wc -l | tr -d '[[:space:]]')
if [ $errors -gt 0 ]; then
echo "Rubocop reported $errors errors. Please double check your code"