Initial commit
This commit is contained in:
4
bin/rubocopfix.sh
Executable file
4
bin/rubocopfix.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user