Sha256: 118a76807f42860e438fc37399713310841c246f95276f3faee51b99344aadd7

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

#!/bin/zsh

source ~/.zshrc

bundle exec rubocop -D -c .rubocop.yml --fail-fast
if [ ! $? -eq 0 ]; then
  echo 'rubocop detected issues!'
  bundle exec rubocop -a -D -c .rubocop.yml
  echo 'Tried to auto correct the issues, but must be reviewed manually, commit aborted'
  exit 1
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
renuo-bin-check-1.0.0.beta2 lib/renuo_bin_check/default_scripts/rubocop-autocorrect.sh