From 6035e050e83cc991f94797eef4d720c0b61d8955 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Sat, 18 Sep 2021 06:57:03 +0200 Subject: [PATCH] Add includes to pre-commit hook --- util/etc/pre-commit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/etc/pre-commit.sh b/util/etc/pre-commit.sh index 528f8953b25..5dd2ba3d5f5 100755 --- a/util/etc/pre-commit.sh +++ b/util/etc/pre-commit.sh @@ -6,6 +6,7 @@ set -e # Update lints cargo dev update_lints git add clippy_lints/src/lib.rs +git add clippy_lints/src/lib.*.rs # Formatting: # Git will not automatically add the formatted code to the staged changes once