5 lines
192 B
Bash
Executable File
5 lines
192 B
Bash
Executable File
#!/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
|