From 501773ed137df2a28f87018c11d165d305415fdd Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Wed, 14 Dec 2022 11:38:36 -0600 Subject: [PATCH] don't modify schema.rb --- dotfiles/zsh/rubofix.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/zsh/rubofix.zsh b/dotfiles/zsh/rubofix.zsh index 1752ff5..74f032d 100644 --- a/dotfiles/zsh/rubofix.zsh +++ b/dotfiles/zsh/rubofix.zsh @@ -4,6 +4,7 @@ function rubofix() { git diff --name-status origin/master \ | grep -vE '^D' \ | grep -E '.rb$' \ + | grep -v 'schema.rb' \ | cut -c 3- \ | sed "s|^|$TOPLEVEL/|g" \ | xargs rubocop --autocorrect