quote to appease shellcheck

main
Brian Hicks 2022-06-21 15:53:23 -05:00
parent 4037d30eda
commit 1eeb66a777
Signed by: brian
GPG Key ID: C4F324B9CAAB0D50
1 changed files with 1 additions and 1 deletions

View File

@ -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- \