5 lines
192 B
Bash
5 lines
192 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# routes file is there because if no files were modified rubocop would fix all
|
||
|
|
git ls-files -m | xargs ls -1 2>/dev/null | grep '\.rb$' | xargs rubocop --fix ./config/routes.rb
|