mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:49:50 +00:00
ecosystem: Run git
command with no human interaction flag (#5435)
This commit is contained in:
parent
955e9ef821
commit
f7969cf23c
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue