[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-20 11:07:35 +00:00
commit 2883b9a970

View file

@ -5627,7 +5627,7 @@ def _sensitive_paths(command: str, workdir: str) -> list[str]:
if "=" in tok:
tok = tok.split("=", 1)[1]
elif "/" in tok:
tok = tok[tok.index("/"):]
tok = tok[tok.index("/") :]
else:
continue # a bare flag carries no path
if not tok: