[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6e09a4683d
commit
2883b9a970
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue