mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
docker.py tests thanks @hroncok
This commit is contained in:
parent
12a40fdab2
commit
dff7d60255
1 changed files with 0 additions and 1 deletions
|
|
@ -87,7 +87,6 @@ def _docker_is_rootless() -> bool:
|
||||||
# rootless podman has "rootless: true"
|
# rootless podman has "rootless: true"
|
||||||
if line.strip().startswith('rootless'):
|
if line.strip().startswith('rootless'):
|
||||||
if 'false' not in line:
|
if 'false' not in line:
|
||||||
print(line)
|
|
||||||
return True
|
return True
|
||||||
break
|
break
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue