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:
Chuck
2026-10-29 12:04:14 -04:00
co-authored by Claude Sonnet 5.5
parent 67b373fca0
commit 693b24c8bb
+1 -1
View File
@@ -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():