Skip to content

Commit 089f9d2

Browse files
committed
Format git env regression test
1 parent 0de1638 commit 089f9d2

File tree

15 files changed

+38
-58
lines changed

15 files changed

+38
-58
lines changed

crates/prek/src/languages/bun/bun.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ impl LanguageImpl for Bun {
140140
.envs(&hook.env)
141141
.args(&hook.args)
142142
.args(batch)
143-
.remove_git_envs()
144143
.check(false)
145144
.stdin(Stdio::null())
146145
.pty_output()

crates/prek/src/languages/docker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ impl Docker {
370370

371371
pub(crate) fn docker_run_cmd(work_dir: &Path) -> Cmd {
372372
let mut command = Cmd::new(CONTAINER_RUNTIME.cmd(), "run container");
373-
command.arg("run").arg("--rm").remove_git_envs();
373+
command.arg("run").arg("--rm");
374374

375375
if *USE_COLOR {
376376
command.arg("--tty");

crates/prek/src/languages/golang/golang.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ impl LanguageImpl for Golang {
155155
.envs(&hook.env)
156156
.args(&hook.args)
157157
.args(batch)
158-
.remove_git_envs()
159158
.check(false)
160159
.stdin(Stdio::null())
161160
.pty_output()

crates/prek/src/languages/haskell.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ impl LanguageImpl for Haskell {
131131
.envs(&hook.env)
132132
.args(&hook.args)
133133
.args(batch)
134-
.remove_git_envs()
135134
.check(false)
136135
.stdin(Stdio::null())
137136
.pty_output()

crates/prek/src/languages/julia.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ impl LanguageImpl for Julia {
125125
.envs(&hook.env)
126126
.args(&hook.args)
127127
.args(batch)
128-
.remove_git_envs()
129128
.check(false)
130129
.stdin(Stdio::null())
131130
.pty_output()

crates/prek/src/languages/lua.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ impl LanguageImpl for Lua {
155155
.envs(&hook.env)
156156
.args(&hook.args)
157157
.args(batch)
158-
.remove_git_envs()
159158
.check(false)
160159
.stdin(Stdio::null())
161160
.pty_output()

crates/prek/src/languages/node/node.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ impl LanguageImpl for Node {
159159
.envs(&hook.env)
160160
.args(&hook.args)
161161
.args(batch)
162-
.remove_git_envs()
163162
.check(false)
164163
.stdin(Stdio::null())
165164
.pty_output()

crates/prek/src/languages/pygrep/pygrep.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ impl LanguageImpl for Pygrep {
208208
.args(args.to_args())
209209
.arg(CONCURRENCY.to_string())
210210
.arg(hook.entry.raw())
211-
.remove_git_envs()
212211
.stdin(Stdio::piped())
213212
.stdout(Stdio::piped())
214213
.stderr(Stdio::piped())

crates/prek/src/languages/python/python.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ impl LanguageImpl for Python {
206206
.envs(&hook.env)
207207
.args(&hook.args)
208208
.args(batch)
209-
.remove_git_envs()
210209
.check(false)
211210
.stdin(Stdio::null())
212211
.pty_output()

crates/prek/src/languages/ruby/ruby.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ impl LanguageImpl for Ruby {
175175
.args(&entry[1..])
176176
.args(&hook.args)
177177
.args(batch)
178-
.remove_git_envs()
179178
.check(false)
180179
.stdin(Stdio::null())
181180
.pty_output()

0 commit comments

Comments
 (0)