Skip to content

Commit 37bf856

Browse files
committed
Format git env regression test
1 parent 0de1638 commit 37bf856

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

crates/prek/tests/run.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,12 +2131,7 @@ fn git_envs_not_leaked_to_hook_commands() -> Result<()> {
21312131
set -eu
21322132
21332133
git_cfg() {
2134-
git -c commit.gpgsign=false \
2135-
-c tag.gpgsign=false \
2136-
-c core.autocrlf=false \
2137-
-c user.name='Prek Test' \
2138-
-c user.email='test@prek.dev' \
2139-
"$@"
2134+
git -c commit.gpgsign=false -c tag.gpgsign=false -c core.autocrlf=false -c user.name='Prek Test' -c user.email='test@prek.dev' "$@"
21402135
}
21412136
21422137
rm -rf hook-repo

0 commit comments

Comments
 (0)