mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
remove == 0
This commit is contained in:
parent
b285cccb19
commit
5a4235c6f0
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ def _ns(
|
||||||
|
|
||||||
|
|
||||||
def _rev_exists(rev: str) -> bool:
|
def _rev_exists(rev: str) -> bool:
|
||||||
return subprocess.call(('git', 'cat-file', '-e', rev)) == 0
|
return subprocess.call(('git', 'cat-file', '-e', rev))
|
||||||
|
|
||||||
|
|
||||||
def _pre_push_ns(
|
def _pre_push_ns(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue