mirror of https://github.com/astral-sh/ruff
ecosystem: Run `git` command with no human interaction flag (#5435)
This commit is contained in:
parent
955e9ef821
commit
f7969cf23c
|
|
@ -69,7 +69,10 @@ class Repository(NamedTuple):
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
process = await create_subprocess_exec(*git_command)
|
process = await create_subprocess_exec(
|
||||||
|
*git_command,
|
||||||
|
env={"GIT_TERMINAL_PROMPT": "0"},
|
||||||
|
)
|
||||||
|
|
||||||
status_code = await process.wait()
|
status_code = await process.wait()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue