mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
10 lines
127 B
Bash
Executable File
10 lines
127 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
COP="$1"
|
|
|
|
bundle exec rubocop -a --only "$COP"
|
|
git add -A
|
|
git commit -m "Auto correct Rubocop's ${COP} cop"
|