From 4a1377dd84856c1ca894105d57747a9f622a9ad8 Mon Sep 17 00:00:00 2001 From: Matthew Hutchinson Date: Sat, 28 Dec 2024 22:17:13 +0000 Subject: [PATCH] add rubocop binstub, update quickhook --- .quickhook/pre-commit/ruby-lint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.quickhook/pre-commit/ruby-lint b/.quickhook/pre-commit/ruby-lint index d614a3f..44d9fde 100755 --- a/.quickhook/pre-commit/ruby-lint +++ b/.quickhook/pre-commit/ruby-lint @@ -1,2 +1,3 @@ #!/bin/sh -grep '\.rb$\|Gemfile|Rakefile' | xargs bundle exec rubocop --config .rubocop.yml --force-exclusion +set -e +grep '\.rb$\|Gemfile\|Rakefile' | xargs bin/rubocop --config .rubocop.yml --force-exclusion