mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-30 09:49:20 +00:00
chore(update): mark run_git's CompletedProcess as a result object, not a subprocess call
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
67b373fca0
commit
693b24c8bb
@@ -203,7 +203,7 @@ def run_git(cmd, *, cwd=None, timeout=None, capture_output=True, text=True, **kw
|
||||
except BaseException:
|
||||
_stop_group(proc)
|
||||
raise
|
||||
return subprocess.CompletedProcess(proc.args, proc.returncode, stdout, stderr)
|
||||
return subprocess.CompletedProcess(proc.args, proc.returncode, stdout, stderr) # result object only, nothing is run # nosemgrep
|
||||
|
||||
|
||||
def read_only_env():
|
||||
|
||||
Reference in New Issue
Block a user