quote to appease shellcheck
parent
4037d30eda
commit
1eeb66a777
|
@ -1,7 +1,7 @@
|
|||
# fix rubocop errors automatically
|
||||
function rubofix() {
|
||||
TOPLEVEL="$(git rev-parse --show-toplevel)"
|
||||
git diff --name-status $(git rev-parse origin/master)...$(git rev-parse HEAD) \
|
||||
git diff --name-status "$(git rev-parse origin/master)...$(git rev-parse HEAD)" \
|
||||
| grep -vE '^D' \
|
||||
| grep -E '.rb$' \
|
||||
| cut -c 3- \
|
||||
|
|
Loading…
Reference in New Issue